Apache Tobago Myfaces 2.0 Color Picker - jsf

I have an old project with Apache Tobago Myfaces 2.0.0-alpha-3.
How can I add "color picker" to popup?
Color picker should show color selector when I click button on popup dialog.

Related

vaadin combobox suggestion popup displays outside of vaadin window in liferay

I have a vaadin-liferay portlet. I am using vaadin Window component which is having vertical scroll as it has more content inside. A combobox is added inside the window. But when the combobox suggestion popup opened its position is changed according to the browser scroll not according to vaadin window scroll. Please help

Change Navigation View Color Sencha Architect

I'm starting with Senchar Architect 2 and I want to change the Navigation View Top bar color,
I want a red color on navigation bar, i saw another 2 questions but I don't undertood, have a simple way to change de color ? Using CSS or the Config Panel of sencha architect
Yes, you CAN change the color of your navigation bar in the config panel (like you did for the back button color yesterday) --> Style --> Background: red.
Also, I would suggest you to take a look at the SASS theming which is recommended by Sencha folks.
Here is the link:
http://vimeo.com/36917216

selectonemenu options far from the menu box itself

I am using PrimeFaces 3.2 and running app on Tomcat 7.0. I have pretty big form and a couple of <p:selectOneMenu> boxes at the bottom of the form. When I click on that box, then the options appear at the top of the form, so I have to scroll back to the top to select option. Is there a way to keep options close to the menu box?

rich text editor and component to display the text entered vi text editor in JSF 1.2

I need to have a rich text editor and a component with which I should be able to display the formatted text. I am using JSF 1.2.
You can use some RTF editor bundled with JSF library component (primefaces, richfaces, etc.. )
and I think yuou can display it in a simple div cause the rtf output should use HTML tags and styles or you can display it in the smae RTF window just in a read only mode
1) use primefaces library version 2.2.1 (cause i think it supports jsf 1.2) , this library got the editor component (you can get some info about it from the documentation User's Guide 2.2 and 2.2.1)
2) use a Rich Text Editor like CKEditor in your JSF app, here some ref to how to use Q' + A' Using CKEditor instead of PrimeFaces Editor
Here another ref with similar Q' + A' about RTF in JSF Is there any rich text editor component for JSF RI?

I cannot center the text of a userdefined Button

I created a Button and I set its UIID to boutonPpal. I set the bgAlign attribute to ALIGN_CENTER in the resource Editor but the text of the Button is not centered at runtime !
So how to make the text centered ?
bgAlign aligns the background image of a component. Use the "Align" tab if using the latest LWUIT. If you are using 1.4 you need to actually invoke setAlign() on the component since in 1.4 alignment was not a part of the theme.

Resources