[seam-commits] Seam SVN: r10763 - examples/trunk/booking/war/src/main/webapp.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon May 4 00:39:29 EDT 2009


Author: dan.j.allen
Date: 2009-05-04 00:39:28 -0400 (Mon, 04 May 2009)
New Revision: 10763

Modified:
   examples/trunk/booking/war/src/main/webapp/confirm.xhtml
Log:
format dates


Modified: examples/trunk/booking/war/src/main/webapp/confirm.xhtml
===================================================================
--- examples/trunk/booking/war/src/main/webapp/confirm.xhtml	2009-05-04 04:33:40 UTC (rev 10762)
+++ examples/trunk/booking/war/src/main/webapp/confirm.xhtml	2009-05-04 04:39:28 UTC (rev 10763)
@@ -23,8 +23,18 @@
             </h:outputText>
          </p:display>
 
-         <p:display label="Check-in date" value="#{booking.checkinDate}"/>
-         <p:display label="Check-out date" value="#{booking.checkoutDate}"/>
+         <p:display label="Check-in date" override="true">
+            <h:outputText value="#{booking.checkinDate}">
+               <f:convertDateTime type="date" pattern="MM/dd/yyyy"/>
+            </h:outputText>
+         </p:display>
+
+         <p:display label="Check-out date" override="true">
+            <h:outputText value="#{booking.checkoutDate}">
+               <f:convertDateTime type="date" pattern="MM/dd/yyyy"/>
+            </h:outputText>
+         </p:display>
+
          <p:display label="Credit card #" value="#{booking.creditCard}"/>
    
          <div class="buttonBox">




More information about the seam-commits mailing list