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

Gavin King gavin.king at jboss.com
Mon Oct 16 09:11:17 EDT 2006


  User: gavin   
  Date: 06/10/16 09:11:17

  Modified:    examples/booking/view   book.xhtml register.xhtml
  Log:
  simplify
  
  Revision  Changes    Path
  1.18      +5 -13     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.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- book.xhtml	13 Oct 2006 02:31:18 -0000	1.17
  +++ book.xhtml	16 Oct 2006 13:11:17 -0000	1.18
  @@ -50,9 +50,7 @@
                               <a:support event="onblur" reRender="checkinDateErrors"/>
                           </h:inputText>
   						<br/>
  -                        <a:outputPanel id="checkinDateErrors">
  -                            <h:message for="checkinDate"/>
  -                        </a:outputPanel>
  +                        <a:outputPanel id="checkinDateErrors"><s:message/></a:outputPanel>
   					</s:decorate>
   				</div>
   			</div>
  @@ -65,9 +63,7 @@
                               <a:support event="onblur" reRender="checkoutDateErrors"/>
                           </h:inputText>
   						<br/>
  -                        <a:outputPanel id="checkoutDateErrors">
  -                            <h:message for="checkoutDate"/>
  -                        </a:outputPanel>
  +                        <a:outputPanel id="checkoutDateErrors"><s:message/></a:outputPanel>
   					</s:decorate>
   				</div>
   			</div>
  @@ -107,24 +103,20 @@
                              <a:support event="onblur" reRender="creditCardErrors"/>
                           </h:inputText>
   						<br/>
  -                        <a:outputPanel id="creditCardErrors">
  -                           <h:message for="creditCard"/>
  -                        </a:outputPanel>
  +                        <a:outputPanel id="creditCardErrors"><s:message/></a:outputPanel>
   					</s:decorate>
   				</div>
   			</div>
   			
   			<div class="entry">
   				<div class="label"><h:outputLabel for="creditCardName">Credit Card Name:</h:outputLabel></div>
  -				<div class="input" id="creditCardNameInput">
  +				<div class="input">
   					<s:decorate>
   						<h:inputText id="creditCardName" value="#{booking.creditCardName}" required="true">
                              <a:support event="onblur" reRender="creditCardNameErrors"/>
                           </h:inputText>
   						<br/>
  -                        <a:outputPanel id="creditCardNameErrors">
  -                           <h:message for="creditCardName"/>
  -                        </a:outputPanel>
  +                        <a:outputPanel id="creditCardNameErrors"><s:message/></a:outputPanel>
   					</s:decorate>
   				</div>
   			</div>
  
  
  
  1.11      +2 -6      jboss-seam/examples/booking/view/register.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: register.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/register.xhtml,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -b -r1.10 -r1.11
  --- register.xhtml	12 Oct 2006 22:55:36 -0000	1.10
  +++ register.xhtml	16 Oct 2006 13:11:17 -0000	1.11
  @@ -55,9 +55,7 @@
                                           <a:support event="onchange" reRender="usernameErrors"/>
                                       </h:inputText>
                                       <br/>
  -                                    <a:outputPanel id="usernameErrors">
  -                                        <h:message for="username"/>
  -                                    </a:outputPanel>
  +                                    <a:outputPanel id="usernameErrors"><s:message/></a:outputPanel>
   								</s:decorate>
   							</div>
   						</div>
  @@ -70,9 +68,7 @@
                                           <a:support event="onchange" reRender="nameErrors"/>
                                       </h:inputText>
                                       <br/>
  -                                    <a:outputPanel id="nameErrors">
  -                                        <h:message for="name"/>
  -                                    </a:outputPanel>
  +                                    <s:outputPanel id="nameErrors"><s:message/></a:outputPanel>
   								</s:decorate>
   							</div>
   						</div>
  
  
  



More information about the jboss-cvs-commits mailing list