You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by ha...@apache.org on 2001/07/10 19:46:09 UTC

cvs commit: xml-cocoon2/xdocs logicsheet-forms.xml

haul        01/07/10 10:46:09

  Modified:    xdocs    Tag: cocoon_20_branch logicsheet-forms.xml
  Log:
  formvalidation examples
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.2   +10 -5     xml-cocoon2/xdocs/logicsheet-forms.xml
  
  Index: logicsheet-forms.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/xdocs/logicsheet-forms.xml,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- logicsheet-forms.xml	2001/06/19 11:47:09	1.1.2.1
  +++ logicsheet-forms.xml	2001/07/10 17:46:05	1.1.2.2
  @@ -41,9 +41,9 @@
   <?xml version="1.0"?>
   <root>
   
  -   <parameter name="persons" type="long" min="1" default="4"/>
  -   <parameter name="deposit" type="double" min="10.0" max="999.99" nullable="no"/>
  -   <parameter name="email" type="string" max-len="50" match-regex="^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)\w\w\w?$">
  +   <parameter name="persons" type="long" min="1" default="4" nullable="no"/>
  +   <parameter name="deposit" type="double" min="10.0" max="999.99"/>
  +   <parameter name="email" type="string" max-len="50" matches-regex="^[\d\w][\d\w\-_\.]*@([\d\w\-_]+\.)\w\w\w?$">
   
      <constraint-set name="car-reservation">
          <validate name="persons"/>
  @@ -153,8 +153,13 @@
   						   request attribute </td></tr>
   	 </table>
        <p>
  -     If you'd like to be more specific what went wrong, you can query
  -     the descriptor file for attributes.
  +     For debugging purposes or if you would like to iterate over the
  +     validation results, <code>xsp-formval:results</code> returns a
  +     <code>java.util.Map</code> containing them all.
  +     </p>
  +     <p>
  +     If you would like to be more specific what went wrong, you can
  +     query the descriptor file for attributes.
        </p>
        <p>
        First set the url of the file or resource that contains the
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org