On 20.Aug.2001 -- 11:29 AM, cib wrote:
> 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>

Cib,

your code looks OK to me. However, the result you get indicates, that
the formval taglib is not applied to your XSP. Check if the namespaces
and prefixes are correct and if the taglib is declared in
cocoon.xconf.

One thing though, "results" requires to be used within xsp logic or
expr. Besides the output is not really digestable but only suitable
for debugging.

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to