You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ca...@apache.org on 2007/03/06 12:02:04 UTC

svn commit: r515072 - in /myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp: clientValidation.jsp clientValidationWithExtForm.jsp clientValidationWithStandardForm.jsp

Author: cagatay
Date: Tue Mar  6 03:02:03 2007
New Revision: 515072

URL: http://svn.apache.org/viewvc?view=rev&rev=515072
Log:
Add examples for DoubleConverter

Modified:
    myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidation.jsp
    myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithExtForm.jsp
    myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithStandardForm.jsp

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidation.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidation.jsp?view=diff&rev=515072&r1=515071&r2=515072
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidation.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidation.jsp Tue Mar  6 03:02:03 2007
@@ -60,6 +60,11 @@
 				<f:validateLength minimum="2" maximum="5"/>
 			</h:inputText>
 			<t:message for="txt_address" forceSpan="true" />
+			
+			<h:outputText id="lbl_salary" value="Salary"></h:outputText>
+			<h:inputText id="txt_salary" value="#{customerCreateBean.customer.salary}">
+			</h:inputText>
+			<t:message for="txt_salary" forceSpan="true" />
 		</h:panelGrid>
 
 		<h:commandButton id="btn_save" value="Create" action=""/>

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithExtForm.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithExtForm.jsp?view=diff&rev=515072&r1=515071&r2=515072
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithExtForm.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithExtForm.jsp Tue Mar  6 03:02:03 2007
@@ -60,6 +60,11 @@
 				<f:validateLength minimum="2" maximum="5"/>
 			</h:inputText>
 			<t:message for="txt_address" forceSpan="true" />
+			
+			<h:outputText id="lbl_salary" value="Salary"></h:outputText>
+			<h:inputText id="txt_salary" value="#{customerCreateBean.customer.salary}">
+			</h:inputText>
+			<t:message for="txt_salary" forceSpan="true" />
 		</h:panelGrid>
 
 		<h:commandButton id="btn_save" value="Create" action=""/>

Modified: myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithStandardForm.jsp
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithStandardForm.jsp?view=diff&rev=515072&r1=515071&r2=515072
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithStandardForm.jsp (original)
+++ myfaces/tomahawk/trunk/sandbox/examples/src/main/webapp/clientValidationWithStandardForm.jsp Tue Mar  6 03:02:03 2007
@@ -60,6 +60,11 @@
 				<f:validateLength minimum="2" maximum="5"/>
 			</h:inputText>
 			<t:message for="txt_address" forceSpan="true" />
+			
+			<h:outputText id="lbl_salary" value="Salary"></h:outputText>
+			<h:inputText id="txt_salary" value="#{customerCreateBean.customer.salary}">
+			</h:inputText>
+			<t:message for="txt_salary" forceSpan="true" />
 		</h:panelGrid>
 
 		<h:commandButton id="btn_save" value="Create" action=""/>