[seam-commits] Seam SVN: r14724 - in branches/community/Seam_2_3/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:17:22 EDT 2012


Author: manaRH
Date: 2012-05-22 15:17:21 -0400 (Tue, 22 May 2012)
New Revision: 14724

Modified:
   branches/community/Seam_2_3/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml
   branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml
   branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
   branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml
   branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml
   branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
Log:
JBSEAM-4955 replaced all usage of validate and validateFormattedText with f:validator

Modified: branches/community/Seam_2_3/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml	2012-05-21 22:42:52 UTC (rev 14723)
+++ branches/community/Seam_2_3/examples-ee6/blog/blog-web/src/main/webapp/post.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
@@ -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: branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml	2012-05-21 22:42:52 UTC (rev 14723)
+++ branches/community/Seam_2_3/examples-ee6/dvdstore/dvdstore-web/src/main/webapp/newuser/account.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
@@ -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: branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-21 22:42:52 UTC (rev 14723)
+++ branches/community/Seam_2_3/examples-ee6/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
@@ -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: branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml	2012-05-21 22:42:52 UTC (rev 14723)
+++ branches/community/Seam_2_3/examples-ee6/hibernate/hibernate-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
@@ -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: branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml	2012-05-21 22:42:52 UTC (rev 14723)
+++ branches/community/Seam_2_3/examples-ee6/jpa/jpa-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
@@ -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: branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml
===================================================================
--- branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-21 22:42:52 UTC (rev 14723)
+++ branches/community/Seam_2_3/examples-ee6/metawidget/groovybooking/groovybooking-web/src/main/webapp/password.xhtml	2012-05-22 19:17:21 UTC (rev 14724)
@@ -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