Author: mvitenkov
Date: 2009-03-17 12:23:56 -0400 (Tue, 17 Mar 2009)
New Revision: 12989
Added:
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.xhtml
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.xhtml
Log:
Added: trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml
(rev 0)
+++ trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml 2009-03-17
16:23:56 UTC (rev 12989)
@@ -0,0 +1,25 @@
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich" id="calendarSubviewID">
+ <rich:colorPicker binding="#{colorPicker.component}"
+ colorMode="hex" converter="colorPickerConverter"
+ converterMessage="#{colorPicker.converterMessage}"
+ disabled="#{colorPicker.disabled}" flat="#{colorPicker.flat}"
+ id="colorPickerID" immediate="#{colorPicker.immediate}"
+ localValueSet="#{colorPicker.localValueSet}"
+ onclick="#{event.onclick}" ondblclick="#{event.ondblclick}"
+ onkeydown="#{event.onkeydown}" onkeypress="#{event.onkeypress}"
+ onkeyup="#{event.onkeyup}" onmousedown="#{event.onmousedown}"
+ onmousemove="#{event.onmousemove}"
onmouseout="#{event.onmouseout}"
+ onmouseover="#{event.onmouseover}" onmouseup="#{event.onmouseup}"
+ rendered="#{colorPicker.rendered}"
required="#{colorPicker.required}"
+ requiredMessage="#{colorPicker.requiredMessage}"
+ showEvent="onmouseover" valid="#{colorPicker.valid}"
+ validator="#{colorPicker.validate}"
+ validatorMessage="#{colorPicker.validatorMessage}"
+ value="#{colorPicker.value}"
+ valueChangeListener="#{colorPicker.changeValue}">
+ </rich:colorPicker>
+</f:subview>
\ No newline at end of file
Added: trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.xhtml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.xhtml
(rev 0)
+++
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.xhtml 2009-03-17
16:23:56 UTC (rev 12989)
@@ -0,0 +1,63 @@
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
id="calendarPropertySubviewID">
+ <h:commandButton value="add test"
+ action="#{colorPicker.addColorPicker}"></h:commandButton>
+ <h:panelGrid columns="2">
+ <h:outputText value="colorMode" />
+ <h:selectOneRadio value="#{colorPicker.colorMode}"
+ onchange="submit">
+ <f:selectItem itemLabel="rgb" itemValue="rgb" />
+ <f:selectItem itemLabel="hex" itemValue="hex" />
+ </h:selectOneRadio>
+
+ <h:outputText value="converterMessage: "></h:outputText>
+ <h:inputText value="#{colorPicker.converterMessage}"
+ onchange="submit"></h:inputText>
+
+ <h:outputText value="disabled" />
+ <h:selectBooleanCheckbox value="#{colorPicker.disabled}"
+ onclick="submit" />
+
+ <h:outputText value="flat" />
+ <h:selectBooleanCheckbox value="#{colorPicker.flat}"
+ onclick="submit" />
+
+ <h:outputText value="immediate" />
+ <h:selectBooleanCheckbox value="#{colorPicker.immediate}"
+ onclick="submit" />
+
+ <h:outputText value="localValueSet" />
+ <h:selectBooleanCheckbox value="#{colorPicker.localValueSet}"
+ onclick="submit" />
+
+ <h:outputText value="rendered" />
+ <h:selectBooleanCheckbox value="#{colorPicker.rendered}"
+ onclick="submit" />
+
+ <h:outputText value="required" />
+ <h:selectBooleanCheckbox value="#{colorPicker.required}"
+ onclick="submit" />
+
+ <h:outputText value="requiredMessage: "></h:outputText>
+ <h:inputText value="#{colorPicker.requiredMessage}"
+ onchange="submit"></h:inputText>
+
+ <h:outputText value="valid" />
+ <h:selectBooleanCheckbox value="#{colorPicker.valid}"
+ onclick="submit" />
+
+ <h:outputText value="validatorMessage: "></h:outputText>
+ <h:inputText value="#{colorPicker.validatorMessage}"
+ onchange="submit;"></h:inputText>
+
+ <h:commandButton actionListener="#{colorPicker.checkBinding}"
+ value="Binding">
+ <a4j:support event="onclick"
reRender="bindLabelID"></a4j:support>
+ </h:commandButton>
+ <h:outputText value="#{colorPicker.bindLabel}" id="bindLabelID"
/>
+
+ </h:panelGrid>
+</f:subview>
\ No newline at end of file
Added:
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.xhtml
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.xhtml
(rev 0)
+++
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.xhtml 2009-03-17
16:23:56 UTC (rev 12989)
@@ -0,0 +1,8 @@
+<f:subview
xmlns:ui="http://java.sun.com/jsf/facelets"
+
xmlns:f="http://java.sun.com/jsf/core"
+
xmlns:a4j="http://richfaces.org/a4j"
+
xmlns:h="http://java.sun.com/jsf/html"
+
xmlns:rich="http://richfaces.org/rich"
+ id="calendarStraightforwardSubviewID">
+
+</f:subview>
\ No newline at end of file