[seam-commits] Seam SVN: r13253 - examples/trunk/booking-simplified/src/main/webapp/WEB-INF.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Fri Jun 18 16:34:06 EDT 2010


Author: dan.j.allen
Date: 2010-06-18 16:34:06 -0400 (Fri, 18 Jun 2010)
New Revision: 13253

Modified:
   examples/trunk/booking-simplified/src/main/webapp/WEB-INF/faces-config.xml
Log:
add validator ids for JBoss AS


Modified: examples/trunk/booking-simplified/src/main/webapp/WEB-INF/faces-config.xml
===================================================================
--- examples/trunk/booking-simplified/src/main/webapp/WEB-INF/faces-config.xml	2010-06-18 19:06:00 UTC (rev 13252)
+++ examples/trunk/booking-simplified/src/main/webapp/WEB-INF/faces-config.xml	2010-06-18 20:34:06 UTC (rev 13253)
@@ -4,6 +4,22 @@
    xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
    version="2.0">
    
+   <!-- Validator definitions required on JBoss AS because it fails to scan for annotations -->
+   <validator>
+      <validator-id>confirmPassword</validator-id>
+      <validator-class>org.jboss.seam.examples.booking.account.ConfirmPasswordValidator</validator-class>
+   </validator>
+
+   <validator>
+      <validator-id>currentPassword</validator-id>
+      <validator-class>org.jboss.seam.examples.booking.account.ConfirmPasswordValidator</validator-class>
+   </validator>
+
+   <validator>
+      <validator-id>reservationDateRange</validator-id>
+      <validator-class>org.jboss.seam.examples.booking.booking.ReservationDateRangeValidator</validator-class>
+   </validator>
+
    <navigation-rule>
       <from-view-id>*</from-view-id>
 



More information about the seam-commits mailing list