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

Gavin King gavin.king at jboss.com
Fri Dec 15 08:26:33 EST 2006


  User: gavin   
  Date: 06/12/15 08:26:33

  Modified:    examples/booking/view    book.xhtml confirm.xhtml
                        hotel.xhtml
  Log:
  prices
  
  Revision  Changes    Path
  1.28      +10 -1     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.27
  retrieving revision 1.28
  diff -u -b -r1.27 -r1.28
  --- book.xhtml	7 Dec 2006 01:59:23 -0000	1.27
  +++ book.xhtml	15 Dec 2006 13:26:32 -0000	1.28
  @@ -35,6 +35,15 @@
   			<div class="label">Country:</div>
   			<div class="output">#{hotel.country}</div>
   		</div>
  +        <div class="entry">
  +            <div class="label">Nightly rate:</div>
  +            <div class="output">
  +                <h:outputText value="#{hotel.price}">
  +                    <f:convertNumber type="currency"  
  +                                     currencySymbol="$"/>
  +                </h:outputText>
  +            </div>
  +        </div>
   		
   		<s:validateAll>
       
  
  
  
  1.17      +9 -0      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.16
  retrieving revision 1.17
  diff -u -b -r1.16 -r1.17
  --- confirm.xhtml	20 Nov 2006 19:42:56 -0000	1.16
  +++ confirm.xhtml	15 Dec 2006 13:26:33 -0000	1.17
  @@ -35,6 +35,15 @@
   			<div class="output">#{hotel.country}</div>
   		</div>
   		<div class="entry">
  +            <div class="label">Total payment:</div>
  +            <div class="output">
  +                <h:outputText value="#{booking.total}">
  +                    <f:convertNumber type="currency" 
  +                                     currencySymbol="$"/>
  +                </h:outputText>
  +            </div>
  +        </div>
  +		<div class="entry">
   			<div class="label">Check In Date:</div>
   			<div class="output"><h:outputText value="#{booking.checkinDate}"/></div>
   		</div>
  
  
  
  1.14      +9 -0      jboss-seam/examples/booking/view/hotel.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: hotel.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/hotel.xhtml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -b -r1.13 -r1.14
  --- hotel.xhtml	14 Nov 2006 05:50:59 -0000	1.13
  +++ hotel.xhtml	15 Dec 2006 13:26:33 -0000	1.14
  @@ -36,6 +36,15 @@
   		<div class="label">Country:</div>
   		<div class="output">#{hotel.country}</div>
   	</div>
  +    <div class="entry">
  +        <div class="label">Nightly rate:</div>
  +        <div class="output">
  +            <h:outputText value="#{hotel.price}">
  +                <f:convertNumber type="currency" 
  +                                 currencySymbol="$"/>
  +            </h:outputText>
  +        </div>
  +    </div>
   </div>
   <div class="section">
   	<h:form id="hotel">
  
  
  



More information about the jboss-cvs-commits mailing list