YUI4JSF ChooseColor is used for making color selection and automatically store the result in a text field
component-family | net.sf.yui4jsf |
renderer-type | net.sf.yui4jsf.component.InputColorRenderer |
component-class | net.sf.yui4jsf.component.inputColor.InputColor |
renderer-class | net.sf.yui4jsf.component.inputColor.InputColorRenderer |
tag-class | net.sf.yui4jsf.component.inputColor.InputColorTag |
<!-- Note that color attribute is of type java.awt.Color --> <yui:inputColor value="#{chooseColorBean.color}"> <f:converter converterId="net.sf.yui4jsf.converter.ColorConverter"/> </yui:inputColor>
<yui:inputColor>
Standard Attributes - id, rendered, binding, converter, validator, immediate, required.
inputColorDialogTitle - The title of the input color dialog.
submitButtonTitle - The title of the input color dialog submit button.
cancelButtonTitle - The title of the input color dialog cancel button.
showButtonTitle - The title of the input color show button.