[jboss-cvs] jboss-seam/examples/seamspace/view ...
Peter Muir
peter at bleepbleep.org.uk
Thu Sep 6 18:57:34 EDT 2007
User: pmuir
Date: 07/09/06 18:57:34
Modified: examples/seamspace/view register.xhtml
Log:
Deprecate s:selectDate - JBSEAM-1870
Revision Changes Path
1.15 +5 -5 jboss-seam/examples/seamspace/view/register.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: register.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/seamspace/view/register.xhtml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- register.xhtml 3 Jul 2007 13:19:39 -0000 1.14
+++ register.xhtml 6 Sep 2007 22:57:34 -0000 1.15
@@ -3,7 +3,8 @@
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
- xmlns:s="http://jboss.com/products/seam/taglib">
+ xmlns:s="http://jboss.com/products/seam/taglib"
+ xmlns:rich="http://richfaces.org/rich">
<ui:composition template="template.xhtml">
<ui:define name="content">
@@ -74,10 +75,9 @@
<div class="formRow">
<h:outputLabel for="dob">Date of birth<em>*</em></h:outputLabel>
- <h:inputText id="dob" value="#{newMember.dob}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- </h:inputText>
- <s:selectDate for="dob" startYear="1910" endYear="2007"><img src="images/ellipsis.png" class="ellipsis"/></s:selectDate>
+ <!-- TODO Add in start and end of range -->
+ <!-- TODO Change image -->
+ <rich:calendar id="dob" value="#{newMember.dob}" required="true" datePattern="MM/dd/yyyy" buttonIcon="images/ellipses.png" />
<div class="validationError"><h:message for="dob"/></div>
</div>
More information about the jboss-cvs-commits
mailing list