[jboss-cvs] jboss-seam/examples/icefaces/view ...
Gavin King
gavin.king at jboss.com
Wed Nov 22 04:57:48 EST 2006
User: gavin
Date: 06/11/22 04:57:48
Modified: examples/icefaces/view book.xhtml
Log:
use ice datepicker
Revision Changes Path
1.5 +2 -8 jboss-seam/examples/icefaces/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/icefaces/view/book.xhtml,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- book.xhtml 20 Nov 2006 19:45:45 -0000 1.4
+++ book.xhtml 22 Nov 2006 09:57:48 -0000 1.5
@@ -47,10 +47,7 @@
<div class="label"><h:outputLabel for="checkinDate">Check In Date:</h:outputLabel></div>
<div class="input">
<s:decorate>
- <ice:inputText partialSubmit="true" id="checkinDate" value="#{booking.checkinDate}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- </ice:inputText>
- <h:graphicImage url="img/dtpick.gif" onclick="displayDatePicker('booking:checkinDate');" style="margin-left:5px"/>
+ <ice:selectInputDate id="checkinDate" value="#{booking.checkinDate}" renderAsPopup="true" partialSubmit="true"/>
<br/>
<s:message/>
</s:decorate>
@@ -61,10 +58,7 @@
<div class="label"><h:outputLabel for="checkoutDate">Check Out Date:</h:outputLabel></div>
<div class="input">
<s:decorate>
- <ice:inputText partialSubmit="true" id="checkoutDate" value="#{booking.checkoutDate}" required="true">
- <s:convertDateTime pattern="MM/dd/yyyy"/>
- </ice:inputText>
- <h:graphicImage url="img/dtpick.gif" onclick="displayDatePicker('booking:checkoutDate');" style="margin-left:5px"/>
+ <ice:selectInputDate id="checkoutDate" value="#{booking.checkoutDate}" renderAsPopup="true" partialSubmit="true"/>
<br/>
<s:message/>
</s:decorate>
More information about the jboss-cvs-commits
mailing list