cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anna Bikkina <>
Subject XSP Validation XSP-formval
Date Thu, 19 Feb 2004 19:50:08 GMT

I am using xsp-formval to validate data in my xsp forms. Somehow I am not able 
to validate the form . My XSP form has the following lines

<xsp-formval:descriptor name="/usr/local/jboss/tomcat/webapps/cocoon/myserver/
styles/descriptor.xml" constraint-set="securityquote">

and so on... 

I have my descriptor file in the same location. Here is my descriptor file.

<?xml version="1.0" encoding="UTF-8"?>

   <parameter name="security" type="string" min-len="2" max-len="15"  
   <parameter name="startdate" type="string" nullable="no" min-len="6" 
    <parameter name="enddate" type="string" nullable="no" min-len="6" 

   <constraint-set name="securityquote">
       <validate name="security"/>
       <validate name="startdate"/>
       <validate name="enddate"/>


For some reason no valdiation is being done. I am checking not null fields and 
even when I give all non null fields its not raising an error. Is there 
something that I am missing here. Please comment.

Thanks in advance,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message