Hi,
 
my form's target goes to do-register2, and here is the sitemap.
 

 <map:match pattern="do-register2">
 <map:act type="form-validator">
     <map:parameter name="descriptor" value="reg_desc.xml"/>
     <map:parameter name="validate-set" value="registered"/>
     <map:redirect-to uri="testdb"/>
 </map:act>
        <map:generate type="serverpages" src="error.xsp"/>
            <map:transform src="dyn.xsl"/>
            <map:serialize/>
    </map:match>
The errot.xsp has a namespace on formval:
 
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsp:page
          language="java"
          xmlns:xsp="http://apache.org/xsp"
          xmlns:esql="http://apache.org/cocoon/SQL/v2"
   xmlns:xsp-formval="http://apche.org/xsp/form-validator/2.0">
  <page>
 
Your error messages:
<xsp-formval:results/>

  </page>
</xsp:page>
 
But here is the error page 's source I get.
 
<page>
Your error messages:
<xsp-formval:results xmlns:xsp-formval="http://apche.org/xsp/form-validator/2.0"/>
</page>
 
I guess either I haven't got the correct syntax, or my C2.0b1 doesn't have the latest class files for formval.
 
Any clue,
Thanks for answering.
 
Cib
 
France, Bordeaux, xml and gay pride.

Reply via email to