[seam-commits] Seam SVN: r14725 - in tags/JBoss_Seam_2_3_0_Beta2/examples-ee6: dvdstore/dvdstore-web/src/main/webapp/newuser and 4 other directories.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Tue May 22 15:32:26 EDT 2012


Author: manaRH
Date: 2012-05-22 15:32:25 -0400 (Tue, 22 May 2012)
New Revision: 14725

Modified:
   tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml
   tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml
   tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
   tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml
   tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml
   tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
Log:
backported commit for examples JBSEAM-4955

Modified: tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml
===================================================================
--- tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
+++ tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml	2012-05-22 19:32:25 UTC (rev 14725)
@@ -21,14 +21,16 @@
          <s:decorate template="edit.xhtml" id="title">
             <ui:define name="label">Title</ui:define>
             <h:inputText value="#{blogEntry.title}" size="70" maxlength="70" required="true" id="titleInput">
-            	 <s:validateFormattedText />
+<!--             	 <s:validateFormattedText /> -->
+                <f:validator validatorId="org.jboss.seam.ui.FormattedTextValidator" />
             </h:inputText>
          </s:decorate>
       
          <s:decorate template="edit.xhtml" id="excerpt">
             <ui:define name="label">Excerpt (optional)</ui:define>
             <h:inputTextarea value="#{blogEntry.excerpt}" cols="68" rows="3" id="excerptInput">
-         	     <s:validateFormattedText />
+<!--          	     <s:validateFormattedText /> -->
+                <f:validator validatorId="org.jboss.seam.ui.FormattedTextValidator" />
             </h:inputTextarea>
          </s:decorate>
       

Modified: tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml
===================================================================
--- tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
+++ tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml	2012-05-22 19:32:25 UTC (rev 14725)
@@ -38,7 +38,8 @@
                             <td class="cntForm">
                                 <h:inputText id="userName" required="true"
                                              value="#{customer.userName}">
-                                    <s:validate/>
+                                    <!--<s:validate/>-->
+                                    <f:validator validatorId="org.jboss.seam.ui.ModelValidator"/>
                                 </h:inputText> *
                             </td>
                             <td><h:message id="MessageForUserName" for="userName" styleClass="cntError" /></td>

Modified: tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
===================================================================
--- tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
+++ tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-22 19:32:25 UTC (rev 14725)
@@ -30,7 +30,8 @@
 				<div class="input">
 					<s:decorate id="PasswordDecorate">
 						<h:inputSecret id="password" value="#{user.password}" required="true">
-							<s:validate/>
+							<!--<s:validate/>-->
+                            <f:validator validatorId="org.jboss.seam.ui.ModelValidator"/>
 						</h:inputSecret>
 					</s:decorate>
 				</div>
@@ -78,4 +79,4 @@
 </p>
 </ui:define>
 
-</ui:composition>
\ No newline at end of file
+</ui:composition>

Modified: tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml
===================================================================
--- tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
+++ tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml	2012-05-22 19:32:25 UTC (rev 14725)
@@ -30,7 +30,8 @@
 				<div class="input">
 					<s:decorate id="PasswordDecorate">
 						<h:inputSecret id="password" value="#{user.password}" required="true">
-							<s:validate/>
+							<!--<s:validate/>-->
+                            <f:validator validatorId="org.jboss.seam.ui.ModelValidator"/>
 						</h:inputSecret>
 					</s:decorate>
 				</div>
@@ -78,4 +79,4 @@
 </p>
 </ui:define>
 
-</ui:composition>
\ No newline at end of file
+</ui:composition>

Modified: tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml
===================================================================
--- tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
+++ tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml	2012-05-22 19:32:25 UTC (rev 14725)
@@ -30,7 +30,8 @@
 				<div class="input">
 					<s:decorate id="PasswordDecorate">
 						<h:inputSecret id="password" value="#{user.password}" required="true">
-							<s:validate/>
+							<!--<s:validate/>-->
+                            <f:validator validatorId="org.jboss.seam.ui.ModelValidator"/>
 						</h:inputSecret>
 					</s:decorate>
 				</div>
@@ -78,4 +79,4 @@
 </p>
 </ui:define>
 
-</ui:composition>
\ No newline at end of file
+</ui:composition>

Modified: tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
===================================================================
--- tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
+++ tags/JBoss_Seam_2_3_0_Beta2/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-22 19:32:25 UTC (rev 14725)
@@ -30,7 +30,8 @@
 				<div class="input">
 					<s:decorate id="PasswordDecorate">
 						<h:inputSecret id="password" value="#{user.password}" required="true">
-							<s:validate/>
+							<!--<s:validate/>-->
+                            <f:validator validatorId="org.jboss.seam.ui.ModelValidator"/>
 						</h:inputSecret>
 					</s:decorate>
 				</div>
@@ -78,4 +79,4 @@
 </p>
 </ui:define>
 
-</ui:composition>
\ No newline at end of file
+</ui:composition>



More information about the seam-commits mailing list