Author: mvitenkov
Date: 2009-03-17 13:32:45 -0400 (Tue, 17 Mar 2009)
New Revision: 12992
Removed:
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.jsp
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.jsp
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.jsp
Modified:
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml
Log:
Add ColorPicker pages
Deleted: trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.jsp 2009-03-17
17:01:36 UTC (rev 12991)
+++ trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.jsp 2009-03-17
17:32:45 UTC (rev 12992)
@@ -1,26 +0,0 @@
-<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
-
-<f:subview id="colorPickerSubviewID">
- <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>
Modified: trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml 2009-03-17
17:01:36 UTC (rev 12991)
+++ trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPicker.xhtml 2009-03-17
17:32:45 UTC (rev 12992)
@@ -3,7 +3,7 @@
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}"
+ <rich:colorPicker binding="#{colorPicker.htmlColorPicker}"
colorMode="hex" converter="colorPickerConverter"
converterMessage="#{colorPicker.converterMessage}"
disabled="#{colorPicker.disabled}" flat="#{colorPicker.flat}"
Deleted: trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.jsp 2009-03-17
17:01:36 UTC (rev 12991)
+++
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerProperty.jsp 2009-03-17
17:32:45 UTC (rev 12992)
@@ -1,64 +0,0 @@
-<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
-
-<f:subview id="colorPickerPropertySubviewID">
- <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
Deleted:
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.jsp
===================================================================
---
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.jsp 2009-03-17
17:01:36 UTC (rev 12991)
+++
trunk/test-applications/jsp/src/main/webapp/ColorPicker/ColorPickerStraightforward.jsp 2009-03-17
17:32:45 UTC (rev 12992)
@@ -1,8 +0,0 @@
-<%@ taglib
uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib
uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib
uri="http://richfaces.org/a4j" prefix="a4j"%>
-<%@ taglib
uri="http://richfaces.org/rich" prefix="rich"%>
-
-<f:subview id="colorPickerStraightforwardSubviewID">
-<div>ColorPicker straightforward...</div>
-</f:subview>
\ No newline at end of file