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

Michael Yuan michael.yuan at jboss.com
Thu Dec 7 16:04:40 EST 2006


  User: myuan   
  Date: 06/12/07 16:04:40

  Modified:    examples/glassfish/view  book.xhtml
  Log:
  move libs and use s:selectDate
  
  Revision  Changes    Path
  1.2       +192 -189  jboss-seam/examples/glassfish/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/glassfish/view/book.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- book.xhtml	29 Nov 2006 09:30:42 -0000	1.1
  +++ book.xhtml	7 Dec 2006 21:04:40 -0000	1.2
  @@ -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