cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/woody/samples/forms form1.xml
Date Tue, 30 Dec 2003 20:44:47 GMT
vgritsenko    2003/12/30 12:44:47

  Modified:    src/blocks/woody/samples/forms form1.xml
  Log:
  Add date range validation demo
  
  Revision  Changes    Path
  1.18      +6 -1      cocoon-2.1/src/blocks/woody/samples/forms/form1.xml
  
  Index: form1.xml
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/woody/samples/forms/form1.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- form1.xml	19 Nov 2003 03:29:12 -0000	1.17
  +++ form1.xml	30 Dec 2003 20:44:47 -0000	1.18
  @@ -178,6 +178,11 @@
               here, with a locale attribute on them. -->
             </wd:patterns>
           </wd:convertor>
  +        <wd:validation>
  +          <wd:range min="Date(1850, 1, 1)" max="Date(2150, 1, 1)">
  +            <wd:failmessage>Dead and not born yet should not bother filling this
form</wd:failmessage>
  +          </wd:range>
  +        </wd:validation>
         </wd:datatype>
       </wd:field>
     
  
  
  

Mime
View raw message