[jboss-cvs] jboss-seam/src/ui/META-INF ...
Gavin King
gavin.king at jboss.com
Wed Oct 11 17:00:05 EDT 2006
User: gavin
Date: 06/10/11 17:00:05
Modified: src/ui/META-INF faces-config.xml seam.taglib.xml
Log:
s:convertDateTime, and default conversion to date
Revision Changes Path
1.16 +10 -0 jboss-seam/src/ui/META-INF/faces-config.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: faces-config.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/faces-config.xml,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- faces-config.xml 2 Oct 2006 18:20:36 -0000 1.15
+++ faces-config.xml 11 Oct 2006 21:00:05 -0000 1.16
@@ -320,4 +320,14 @@
<validator-class>org.jboss.seam.ui.ModelValidator</validator-class>
</validator>
+ <converter>
+ <converter-for-class>java.util.Date</converter-for-class>
+ <converter-class>org.jboss.seam.ui.ConvertDateTime</converter-class>
+ </converter>
+
+ <converter>
+ <converter-id>org.jboss.seam.ui.ConvertDateTime</converter-id>
+ <converter-class>org.jboss.seam.ui.ConvertDateTime</converter-class>
+ </converter>
+
</faces-config>
1.14 +7 -0 jboss-seam/src/ui/META-INF/seam.taglib.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: seam.taglib.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/src/ui/META-INF/seam.taglib.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- seam.taglib.xml 2 Oct 2006 18:20:36 -0000 1.13
+++ seam.taglib.xml 11 Oct 2006 21:00:05 -0000 1.14
@@ -97,4 +97,11 @@
</validator>
</tag>
+ <tag>
+ <tag-name>convertDateTime</tag-name>
+ <converter>
+ <converter-id>org.jboss.seam.ui.ConvertDateTime</converter-id>
+ </converter>
+ </tag>
+
</facelet-taglib>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list