cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject How does the captcha valid. in forms work?
Date Mon, 07 Aug 2006 08:54:26 GMT
I know how to put in in the form and make it work, but what I do not
understand is how it works, especially whats in the sitemap

you put like that in your form:
<fd:captcha id="captcha" required="true" length="5">
       <fd:datatype base="string"/>

<map:match pattern="captcha-*.jpg">
      <map:generate type="jx" src="documents/xml/captcha-image.xml">
        <map:parameter name="capt" value="{session-attr:captcha-{1}}"/>
      <map:serialize type="svg2jpeg"/>

does it mean this: <fd:captcha id="captcha" required="true" length="5">
calls that: <map:match pattern="captcha-*.jpg">
and what about this entry: value="{session-attr:captcha-{1}}" ??

A description of the whole process would be great....
Thank you

View raw message