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

Gavin King gavin.king at jboss.com
Mon Nov 20 14:45:36 EST 2006


  User: gavin   
  Date: 06/11/20 14:45:36

  Modified:    examples/hibernate/view    book.xhtml confirm.xhtml
                        main.xhtml
  Log:
  fix the timezones
  
  Revision  Changes    Path
  1.9       +2 -2      jboss-seam/examples/hibernate/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/hibernate/view/book.xhtml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -b -r1.8 -r1.9
  --- book.xhtml	14 Nov 2006 05:50:59 -0000	1.8
  +++ book.xhtml	20 Nov 2006 19:45:36 -0000	1.9
  @@ -36,7 +36,7 @@
   				<div class="label"><h:outputLabel for="checkinDate">Check In Date:</h:outputLabel></div>
   				<div class="input">
   					<h:inputText id="checkinDate" value="#{booking.checkinDate}" required="true">
  -						<f:convertDateTime type="date"/>
  +						<s:convertDateTime type="date"/>
   					</h:inputText>
   					<br/><span class="errors"><h:message for="checkinDate" /></span>
   				</div>
  @@ -45,7 +45,7 @@
   				<div class="label"><h:outputLabel for="checkoutDate">Check Out Date:</h:outputLabel></div>
   				<div class="input">
   					<h:inputText id="checkoutDate" value="#{booking.checkoutDate}" required="true">
  -						<f:convertDateTime type="date"/>
  +						<s:convertDateTime type="date"/>
   					</h:inputText>
   					<br/><span class="errors"><h:message for="checkoutDate" /></span>
   				</div>
  
  
  
  1.5       +3 -2      jboss-seam/examples/hibernate/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/hibernate/view/confirm.xhtml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -b -r1.4 -r1.5
  --- confirm.xhtml	10 Nov 2006 19:07:55 -0000	1.4
  +++ confirm.xhtml	20 Nov 2006 19:45:36 -0000	1.5
  @@ -3,6 +3,7 @@
   	    		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"
   				template="template.xhtml">
   
   <!-- content -->
  @@ -31,11 +32,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}"><s:convertDateTime type="date"/></h:outputText></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}"><s:convertDateTime type="date"/></h:outputText></div>
   		</div>
   		<div class="entry">
   			<div class="label">Credit Card #:</div>
  
  
  
  1.8       +4 -3      jboss-seam/examples/hibernate/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/hibernate/view/main.xhtml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -b -r1.7 -r1.8
  --- main.xhtml	14 Nov 2006 05:50:59 -0000	1.7
  +++ main.xhtml	20 Nov 2006 19:45:36 -0000	1.8
  @@ -3,6 +3,7 @@
                   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"
                   template="template.xhtml">
   
   <!-- content -->
  @@ -69,13 +70,13 @@
           <h:column>
               <f:facet name="header">Check in date</f:facet>
               <h:outputText value="#{book.checkinDate}">
  -                <f:convertDateTime type="date"/>
  +                <s:convertDateTime type="date"/>
               </h:outputText>
           </h:column>
           <h:column>
               <f:facet name="header">Check out date</f:facet>
               <h:outputText value="#{book.checkoutDate}">
  -                <f:convertDateTime type="date"/>
  +                <s:convertDateTime type="date"/>
               </h:outputText>
           </h:column>
           <h:column>
  
  
  



More information about the jboss-cvs-commits mailing list