[jboss-cvs] jboss-seam/examples/spring/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/spring/view book.xhtml
Log:
Deprecate s:selectDate - JBSEAM-1870
Revision Changes Path
1.5 +2 -12 jboss-seam/examples/spring/view/book.xhtml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: book.xhtml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/examples/spring/view/book.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- book.xhtml 22 Feb 2007 05:51:19 -0000 1.4
+++ book.xhtml 6 Sep 2007 22:57:34 -0000 1.5
@@ -4,6 +4,7 @@
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:rich="http://richfaces.org/rich"
template="template.xhtml">
<!-- content -->
@@ -54,12 +55,7 @@
<div class="label"><h:outputLabel for="checkinDate">Check In Date:</h:outputLabel></div>
<div class="input">
<s:decorate>
- <h:inputText id="checkinDate" value="#{booking.checkinDate}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- </h:inputText>
- <s:selectDate for="checkinDate">
- <h:graphicImage url="img/dtpick.gif" style="margin-left:5px"/>
- </s:selectDate>
+ <rich:calendar id="checkinDate" value="#{booking.checkinDate}" required="true" datePattern="MM/dd/yyyy" event="onblur" reRender="checkinDateDecorate" />
<br/>
<s:message/>
</s:decorate>
@@ -70,12 +66,6 @@
<div class="label"><h:outputLabel for="checkoutDate">Check Out Date:</h:outputLabel></div>
<div class="input">
<s:decorate>
- <h:inputText id="checkoutDate" value="#{booking.checkoutDate}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- </h:inputText>
- <s:selectDate for="checkoutDate">
- <h:graphicImage url="img/dtpick.gif" style="margin-left:5px"/>
- </s:selectDate>
<br/>
</s:decorate>
</div>
More information about the jboss-cvs-commits
mailing list