Description

YUI4JSF ChooseColor is used for making color selection and automatically store the result in a text field

Screen Shot

API

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

Usage

<!-- 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>
            

Attributes

<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.

Instructions

see inputColor.jsp for an example

Upcoming Features

N/A

Additional Information

NONE