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

Norman Richards norman.richards at jboss.com
Wed Dec 6 20:59:23 EST 2006


  User: nrichards
  Date: 06/12/06 20:59:23

  Modified:    examples/booking/view  book.xhtml
  Log:
  use s:selectDate
  
  Revision  Changes    Path
  1.27      +192 -189  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.26
  retrieving revision 1.27
  diff -u -b -r1.26 -r1.27
  --- book.xhtml	20 Nov 2006 19:42:56 -0000	1.26
  +++ book.xhtml	7 Dec 2006 01:59:23 -0000	1.27
  @@ -9,7 +9,6 @@
   
   <!-- content -->
   <ui:define name="content">
  -<script language="JavaScript" src="js/datePicker.js"/>
   <div class="section">
   	<h1>Book Hotel</h1>
   </div>
  @@ -51,7 +50,9 @@
                               <s:convertDateTime pattern="MM/dd/yyyy"/>
                               <a:support event="onblur" reRender="checkinDateErrors"/>
                           </h:inputText>
  -                        <h:graphicImage url="img/dtpick.gif" onclick="displayDatePicker('booking:checkinDate');" style="margin-left:5px"/>
  +                                    <s:selectDate for="checkinDate">
  +                                        <h:graphicImage url="img/dtpick.gif" style="margin-left:5px"/>
  +                                    </s:selectDate>
   						<br/>
                           <a:outputPanel id="checkinDateErrors"><s:message/></a:outputPanel>
   					</s:decorate>
  @@ -66,7 +67,9 @@
                               <s:convertDateTime pattern="MM/dd/yyyy"/>
                               <a:support event="onblur" reRender="checkoutDateErrors"/>
                           </h:inputText>
  -                        <h:graphicImage url="img/dtpick.gif" onclick="displayDatePicker('booking:checkoutDate');" style="margin-left:5px"/>
  +                                    <s:selectDate for="checkoutDate">
  +                                        <h:graphicImage url="img/dtpick.gif" style="margin-left:5px"/>
  +                                    </s:selectDate>
   						<br/>
                           <a:outputPanel id="checkoutDateErrors"><s:message/></a:outputPanel>
   					</s:decorate>
  
  
  



More information about the jboss-cvs-commits mailing list