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

Michael Yuan michael.yuan at jboss.com
Thu Dec 7 16:44:57 EST 2006


  User: myuan   
  Date: 06/12/07 16:44:57

  Modified:    examples/hibernate2/view  book.xhtml
  Log:
  move libs and use s:selectDate
  
  Revision  Changes    Path
  1.6       +192 -184  jboss-seam/examples/hibernate2/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/hibernate2/view/book.xhtml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- book.xhtml	20 Nov 2006 19:45:40 -0000	1.5
  +++ book.xhtml	7 Dec 2006 21:44:57 -0000	1.6
  @@ -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>
  @@ -183,6 +186,11 @@
      tabs. But you can even switch between multiple tasks inside a single browser tab!
      The "Workspaces" section showcases this advanced feature.
   </p>
  +<p>
  +   <a href="#" onclick="window.open('exp/workspaceExp.html','exp','width=752,height=500,scrollbars=yes');">
  +      How does the workspace list work?
  +   </a>
  +</p>
   
   </ui:define>
   
  
  
  



More information about the jboss-cvs-commits mailing list