[jboss-cvs] jboss-seam/examples/booking/view ...

Gavin King gavin.king at jboss.com
Wed Oct 11 17:01:19 EDT 2006


  User: gavin   
  Date: 06/10/11 17:01:19

  Modified:    examples/booking/view     book.xhtml confirm.xhtml
                        conversations.xhtml main.xhtml
  Log:
  update to use s:convertDateTime
  
  Revision  Changes    Path
  1.14      +2 -6      jboss-seam/examples/booking/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/booking/view/book.xhtml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- book.xhtml	2 Oct 2006 18:07:54 -0000	1.13
  +++ book.xhtml	11 Oct 2006 21:01:19 -0000	1.14
  @@ -48,9 +48,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">
  -							<f:convertDateTime type="date"/>
  -						</h:inputText>
  +						<h:inputText id="checkinDate" value="#{booking.checkinDate}" required="true"/>
   						<br/>
   					</s:decorate>
   				</div>
  @@ -60,9 +58,7 @@
   				<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">
  -							<f:convertDateTime type="date"/>
  -						</h:inputText>
  +						<h:inputText id="checkoutDate" value="#{booking.checkoutDate}" required="true"/>
   						<br/>
   					</s:decorate>
   				</div>
  
  
  
  1.11      +2 -2      jboss-seam/examples/booking/view/confirm.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: confirm.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/confirm.xhtml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- confirm.xhtml	2 Oct 2006 05:29:44 -0000	1.10
  +++ confirm.xhtml	11 Oct 2006 21:01:19 -0000	1.11
  @@ -36,11 +36,11 @@
   		</div>
   		<div class="entry">
   			<div class="label">Check In Date:</div>
  -			<div class="output"><h:outputText value="#{booking.checkinDate}"><f:convertDateTime type="date"/></h:outputText></div>
  +			<div class="output"><h:outputText value="#{booking.checkinDate}"/></div>
   		</div>
   		<div class="entry">
   			<div class="label">Check Out Date:</div>
  -			<div class="output"><h:outputText value="#{booking.checkoutDate}"><f:convertDateTime type="date"/></h:outputText></div>
  +			<div class="output"><h:outputText value="#{booking.checkoutDate}"/></div>
   		</div>
   		<div class="entry">
   			<div class="label">Credit Card #:</div>
  
  
  
  1.7       +4 -3      jboss-seam/examples/booking/view/conversations.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: conversations.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/conversations.xhtml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -b -r1.6 -r1.7
  --- conversations.xhtml	25 Jun 2006 06:43:39 -0000	1.6
  +++ conversations.xhtml	11 Oct 2006 21:01:19 -0000	1.7
  @@ -2,7 +2,8 @@
        xmlns:c="http://java.sun.com/jstl/core"
        xmlns:ui="http://java.sun.com/jsf/facelets"
        xmlns:f="http://java.sun.com/jsf/core"
  -     xmlns:h="http://java.sun.com/jsf/html">
  +     xmlns:h="http://java.sun.com/jsf/html"
  +     xmlns:s="http://jboss.com/products/seam/taglib">
        
   <div class="section">
       <h1><h:outputText rendered="#{not empty conversationList}" value="Workspaces"/></h1>
  @@ -17,11 +18,11 @@
               </h:column>
               <h:column>
                   <h:outputText value="#{entry.startDatetime}">
  -                    <f:convertDateTime type="time" pattern="hh:mm"/>
  +                    <s:convertDateTime type="time" pattern="hh:mm"/>
                   </h:outputText>
                   -
                   <h:outputText value="#{entry.lastDatetime}">
  -                    <f:convertDateTime type="time" pattern="hh:mm"/>
  +                    <s:convertDateTime type="time" pattern="hh:mm"/>
                   </h:outputText>
               </h:column>
           </h:dataTable>
  
  
  
  1.21      +2 -6      jboss-seam/examples/booking/view/main.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: main.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/main.xhtml,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- main.xhtml	4 Oct 2006 19:11:38 -0000	1.20
  +++ main.xhtml	11 Oct 2006 21:01:19 -0000	1.21
  @@ -75,15 +75,11 @@
   		</h:column>
           <h:column>
               <f:facet name="header">Check in date</f:facet>
  -            <h:outputText value="#{book.checkinDate}">
  -                <f:convertDateTime type="date"/>
  -            </h:outputText>
  +            <h:outputText value="#{book.checkinDate}"/>
           </h:column>
           <h:column>
               <f:facet name="header">Check out date</f:facet>
  -            <h:outputText value="#{book.checkoutDate}">
  -                <f:convertDateTime type="date"/>
  -            </h:outputText>
  +            <h:outputText value="#{book.checkoutDate}"/>
           </h:column>
   		<h:column>
   			<f:facet name="header">Confirmation number</f:facet>
  
  
  



More information about the jboss-cvs-commits mailing list