Author: tkuprevich
Date: 2009-03-27 06:29:56 -0400 (Fri, 27 Mar 2009)
New Revision: 13244
Modified:
trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp
Log:
Modified: trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp
===================================================================
--- trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp 2009-03-27
10:29:36 UTC (rev 13243)
+++ trunk/test-applications/jsp/src/main/webapp/CustomizePage/CustomizePage.jsp 2009-03-27
10:29:56 UTC (rev 13244)
@@ -1,28 +1,36 @@
-<?xml version="1.0" encoding="UTF-8"?>
+<%@ 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"%>
-<jsp:root version="2.1"
xmlns:jsp="http://java.sun.com/JSP/Page"
-
xmlns:c="http://java.sun.com/jsp/jstl/core"
-
xmlns:f="http://java.sun.com/jsf/core"
-
xmlns:h="http://java.sun.com/jsf/html"
-
xmlns:rich="http://richfaces.org/rich"
-
xmlns:a4j="http://richfaces.org/a4j">
- <jsp:directive.page contentType="text/html;charset=UTF-8"
- pageEncoding="UTF-8" />
- <jsp:output doctype-root-element="html"
- doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"
-
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional....
/>
- <f:view>
- <html
xmlns="http://www.w3.org/1999/xhtml">
- <body>
+<f:view>
+ <html
xmlns="http://www.w3.org/1999/xhtml">
+ <body>
- <h:form id="formID">
-
- </h:form>
+ <h:form id="formID">
+ <rich:messages></rich:messages>
+ <br />
+
+ <rich:colorPicker id="cp" value="#{colorPicker.value}"
+ validator="#{colorPicker.validate}"
+ colorMode="rgb"></rich:colorPicker>
+ <br />
+ <h:commandButton action="submit();"
value="Submit"></h:commandButton>
+ <br />
+ <a4j:commandButton value="ReRender"
reRender="formID"></a4j:commandButton>
+ <br />
+ <h:outputText value="validatorMessage: "></h:outputText>
+ <br />
+ <h:inputText
value="#{colorPicker.validatorMessage}"></h:inputText>
+ <br />
+ <h:outputText value="value:
#{colorPicker.value}"></h:outputText>
- </body>
- </html>
+ </h:form>
- </f:view>
-</jsp:root>
+ </body>
+ </html>
+
+</f:view>
+