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/02/05 23:16:34 UTC

svn commit: r503901 - /myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml

Author: cagatay
Date: Mon Feb  5 14:16:33 2007
New Revision: 503901

URL: http://svn.apache.org/viewvc?view=rev&rev=503901
Log:
Add extended LengthValidator and IntegerConverter

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml?view=diff&rev=503901&r1=503900&r2=503901
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml Mon Feb  5 14:16:33 2007
@@ -618,5 +618,19 @@
       <validator-id>org.apache.myfaces.validator.csv</validator-id>
       <validator-class>org.apache.myfaces.custom.csvvalidator.CSVValidator</validator-class>
   </validator>
+  
+  <!-- extended converters and validators -->
+  <converter>
+		<converter-id>javax.faces.Integer</converter-id>
+		<converter-class>org.apache.myfaces.convert.ex.IntegerConverter</converter-class>
+	</converter>
+	<converter>
+		<converter-for-class>java.lang.Integer</converter-for-class>
+		<converter-class>org.apache.myfaces.convert.ex.IntegerConverter</converter-class>
+	</converter>
+	<validator>
+		<validator-id>javax.faces.Length</validator-id>
+		<validator-class>org.apache.myfaces.validator.ex.LengthValidator</validator-class>
+	</validator>
 
 </faces-config>