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

Gavin King gavin.king at jboss.com
Mon Nov 20 00:32:05 EST 2006


  User: gavin   
  Date: 06/11/20 00:32:05

  Modified:    examples/icefaces/view   book.xhtml main.xhtml
  Log:
  minor improvs
  
  Revision  Changes    Path
  1.2       +7 -9      jboss-seam/examples/icefaces/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/icefaces/view/book.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- book.xhtml	20 Nov 2006 04:55:00 -0000	1.1
  +++ book.xhtml	20 Nov 2006 05:32:05 -0000	1.2
  @@ -47,9 +47,9 @@
   				<div class="label"><h:outputLabel for="checkinDate">Check In Date:</h:outputLabel></div>
   				<div class="input">
   					<s:decorate>
  -						<h:inputText id="checkinDate" value="#{booking.checkinDate}" required="true">
  +						<ice:inputText partialSubmit="true" id="checkinDate" value="#{booking.checkinDate}" required="true">
                               <f:convertDateTime pattern="MM/dd/yyyy"/>
  -                        </h:inputText>
  +                        </ice:inputText>
                           <h:graphicImage url="img/dtpick.gif" onclick="displayDatePicker('booking:checkinDate');" style="margin-left:5px"/>
   						<br/>
                           <s:message/>
  @@ -61,9 +61,9 @@
   				<div class="label"><h:outputLabel for="checkoutDate">Check Out Date:</h:outputLabel></div>
   				<div class="input">
   					<s:decorate>
  -						<h:inputText id="checkoutDate" value="#{booking.checkoutDate}" required="true">
  +						<ice:inputText partialSubmit="true" id="checkoutDate" value="#{booking.checkoutDate}" required="true">
                               <f:convertDateTime pattern="MM/dd/yyyy"/>
  -                        </h:inputText>
  +                        </ice:inputText>
                           <h:graphicImage url="img/dtpick.gif" onclick="displayDatePicker('booking:checkoutDate');" style="margin-left:5px"/>
   						<br/>
                           <s:message/>
  @@ -102,8 +102,7 @@
   				<div class="label"><h:outputLabel for="creditCard">Credit Card #:</h:outputLabel></div>
   				<div class="input">
   					<s:decorate>
  -						<ice:inputText id="creditCard" value="#{booking.creditCard}" partialSubmit="true" required="true">
  -                        </ice:inputText>
  +						<ice:inputText id="creditCard" value="#{booking.creditCard}" partialSubmit="true" required="true"/>
   						<br/>
                           <s:message/>
   					</s:decorate>
  @@ -114,8 +113,7 @@
   				<div class="label"><h:outputLabel for="creditCardName">Credit Card Name:</h:outputLabel></div>
   				<div class="input">
   					<s:decorate>
  -						<ice:inputText id="creditCardName" value="#{booking.creditCardName}" partialSubmit="true" required="true">
  -                        </ice:inputText>
  +						<ice:inputText id="creditCardName" value="#{booking.creditCardName}" partialSubmit="true" required="true"/>
   						<br/>
                           <s:message/>
   					</s:decorate>
  
  
  
  1.2       +3 -5      jboss-seam/examples/icefaces/view/main.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: main.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/icefaces/view/main.xhtml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- main.xhtml	20 Nov 2006 04:55:00 -0000	1.1
  +++ main.xhtml	20 Nov 2006 05:32:05 -0000	1.2
  @@ -19,10 +19,8 @@
       
   	<h1>Search Hotels</h1>
   	<fieldset> 
  -	   <ice:selectInputText id="searchString" valueChangeListener="#{hotelSearch.handleSearchStringChange}" value="#{hotelSearch.searchString}" style="display: inline; width: 165px;" >
  -       </ice:selectInputText>
  -       &#160;
  -	   <h:commandButton id="findHotels" value="Find Hotels" action="#{hotelSearch.find}" styleClass="button" reRender="searchResults"/>
  +	   <ice:selectInputText id="searchString" valueChangeListener="#{hotelSearch.handleSearchStringChange}" 
  +                            value="#{hotelSearch.searchString}" style="display: inline; width: 165px;"/>
          &#160;
   	   <br/>
          <h:outputLabel for="pageSize">Maximum results:</h:outputLabel>&#160;
  
  
  



More information about the jboss-cvs-commits mailing list