[jboss-cvs] jboss-seam/doc/reference/en/modules ...

Gavin King gavin.king at jboss.com
Fri Feb 16 22:02:32 EST 2007


  User: gavin   
  Date: 07/02/16 22:02:31

  Modified:    doc/reference/en/modules  validation.xml
  Log:
  better
  
  Revision  Changes    Path
  1.4       +7 -6      jboss-seam/doc/reference/en/modules/validation.xml
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: validation.xml
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/doc/reference/en/modules/validation.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- validation.xml	16 Dec 2006 16:36:26 -0000	1.3
  +++ validation.xml	17 Feb 2007 03:02:31 -0000	1.4
  @@ -236,6 +236,9 @@
       <f:facet name="beforeInvalidField">
           <h:graphicImage src="img/error.gif"/>
       </f:facet>
  +    <f:facet name="afterInvalidField">
  +        <s:message/>
  +    </f:facet>
       <f:facet name="aroundInvalidField">
           <s:span styleClass="error"/>
       </f:facet>
  @@ -245,20 +248,18 @@
       <s:validateAll>
           <div>
               Country:
  -            <s:decorate>
  +            <s:decorate id="country">
                   <h:inputText value="#{location.country}" required="true">
  -                    <a:support event="onblur" reRender="countryError"/>
  +                    <a:support event="onblur" reRender="country"/>
                   </h:inputText>
  -                <a:outputPanel id="countryError><s:message/></a:outputPanel>
               </s:decorate>
           </div>
           <div>
               Zip code:
  -            <s:decorate>
  +            <s:decorate id="zip">
                   <h:inputText value="#{location.zip}" required="true">
  -                    <a:support event="onblur" reRender="zipError"/>
  +                    <a:support event="onblur" reRender="zip"/>
                   </h:inputText>
  -                <a:outputPanel id="zipError><s:message/></a:outputPanel>
               </s:decorate>
           </div>
           <div>
  
  
  



More information about the jboss-cvs-commits mailing list