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

Gavin King gavin.king at jboss.com
Mon Feb 26 20:44:22 EST 2007


  User: gavin   
  Date: 07/02/26 20:44:22

  Modified:    examples/booking/view  password.xhtml
  Log:
  fix set password validation msgs
  
  Revision  Changes    Path
  1.12      +9 -9      jboss-seam/examples/booking/view/password.xhtml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: password.xhtml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/booking/view/password.xhtml,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- password.xhtml	17 Dec 2006 01:04:51 -0000	1.11
  +++ password.xhtml	27 Feb 2007 01:44:22 -0000	1.12
  @@ -12,14 +12,16 @@
   	<h1>Change Your Password</h1>
   </div>
   <div class="section">
  -	<h:form id="password">
  +	<h:form id="setpassword">
   	
  -	    <f:facet name="afterInvalidField">
  -	       <s:message/>
  -	    </f:facet>
   	    <f:facet name="aroundInvalidField">
   	       <s:span styleClass="errors"/>
   	    </f:facet>
  +	    <f:facet name="afterInvalidField">
  +            <s:div styleClass="errors">
  +                <s:message/>
  +            </s:div>
  +	    </f:facet>
   		    
   		<fieldset>
   		
  @@ -30,17 +32,15 @@
   						<h:inputSecret id="password" value="#{user.password}" required="true">
   							<s:validate/>
   						</h:inputSecret>
  -						<br/>
   					</s:decorate>
   				</div>
   			</div>
   			
   			<div class="entry">
  -				<div class="label"><h:outputLabel for="password">Verify:</h:outputLabel></div>
  +				<div class="label"><h:outputLabel for="verify">Verify:</h:outputLabel></div>
   				<div class="input">
   					<s:decorate>
   						<h:inputSecret id="verify" value="#{changePassword.verify}" required="true"/>
  -						<br/>
   					</s:decorate>
   				</div>
   			</div>
  
  
  



More information about the jboss-cvs-commits mailing list