Note: these options affect both component examples!
Value:
Mode:
Color Picker with AJAX Submit:
999999
Regular Color Picker Submit:
999999

Example:


colorPicker.xhtml

ColorPickerTestBean.java

@ViewScoped
@ManagedBean
public class ColorPickerTestBean implements Serializable {

	private static final long serialVersionUID = 1435576438526841243L;

	private String value = "999999";
	private String mode = "popup";

	public String getMode() {
		return mode;
	}

	public void setMode(String mode) {
		this.mode = mode;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String formAction() {
		System.out.println("form submit!");
		return "";
	}

}