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

Peter Muir peter at bleepbleep.org.uk
Thu Sep 6 18:57:35 EDT 2007


  User: pmuir   
  Date: 07/09/06 18:57:35

  Modified:    examples/groovybooking/view  book.xhtml
  Log:
  Deprecate s:selectDate - JBSEAM-1870
  
  Revision  Changes    Path
  1.3       +6 -17     jboss-seam/examples/groovybooking/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/groovybooking/view/book.xhtml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -b -r1.2 -r1.3
  --- book.xhtml	16 Jul 2007 16:39:49 -0000	1.2
  +++ book.xhtml	6 Sep 2007 22:57:35 -0000	1.3
  @@ -4,7 +4,8 @@
   	  			xmlns:h="http://java.sun.com/jsf/html"
   	  			xmlns:f="http://java.sun.com/jsf/core"
   	  			xmlns:s="http://jboss.com/products/seam/taglib"
  -                xmlns:a="https://ajax4jsf.dev.java.net/ajax"
  +                xmlns:a="http://richfaces.org/a4j"
  +                xmlns:rich="http://richfaces.org/rich"
   				template="template.xhtml">
   
   <!-- content -->
  @@ -60,13 +61,7 @@
                               <div class="label"><h:outputLabel for="checkinDate">Check In Date:</h:outputLabel></div>
                               <div class="input">
                                   <s:decorate id="checkinDateDecorate">
  -                                    <h:inputText id="checkinDate" value="#{booking.checkinDate}" required="true">
  -                                        <s:convertDateTime pattern="MM/dd/yyyy"/>
  -                                        <a:support event="onblur" reRender="checkinDateDecorate"/>
  -                                    </h:inputText>
  -                                    <s:selectDate for="checkinDate">
  -                                        <h:graphicImage url="img/dtpick.gif" style="margin-left:5px;cursor:pointer"/>
  -                                    </s:selectDate>
  +									<rich:calendar id="checkinDate" value="#{booking.checkinDate}" required="true" datePattern="MM/dd/yyyy" event="onblur" reRender="checkinDateDecorate" />                                
                                   </s:decorate>
                               </div>
   			</div>
  @@ -75,13 +70,7 @@
                               <div class="label"><h:outputLabel for="checkoutDate">Check Out Date:</h:outputLabel></div>
                               <div class="input">
                                   <s:decorate id="checkoutDateDecorate">
  -                                    <h:inputText id="checkoutDate" value="#{booking.checkoutDate}" required="true">
  -                                        <s:convertDateTime pattern="MM/dd/yyyy"/>
  -                                        <a:support event="onblur" reRender="checkoutDateDecorate"/>
  -                                    </h:inputText>
  -                                    <s:selectDate for="checkoutDate">
  -                                        <h:graphicImage url="img/dtpick.gif" style="margin-left:5px;cursor:pointer"/>
  -                                    </s:selectDate>
  +									<rich:calendar id="checkoutDate" value="#{booking.checkoutDate}" required="true" datePattern="MM/dd/yyyy" event="onblur" reRender="checkoutDateDecorate" />                                
                                   </s:decorate>
                               </div>
                           </div>
  
  
  



More information about the jboss-cvs-commits mailing list