Hi,

I can't resolve my problem : i try to make the form-validation works with
utf-8 data, it only works with Iso-????

In my sitemap.xmap, i try the form-encoding as described in an email but
it's still the same, when login or password input is in Utf-8 caracters, the
form-validator reject.


     <map:match pattern="asp*/*/do-login">
        <!-- first validate whether submitted values are ok -->
        <map:act type="form-validator">
          <map:parameter name="descriptor"
value="context://test/descriptors/params.xml"/>
          <map:parameter name="validate" value="login,password"
form-encoding="UTF-8"/>
          <!-- now try to log in -->
          <map:act type="db-authenticator">
            <map:parameter name="descriptor"
value="context://test/descriptors/auth.xml"/>
            <!-- now go to protected area -->
            <map:redirect-to uri="login_ok.htm"/>
          </map:act>
        </map:act>
        <!-- something was wrong, try it again -->
        <map:redirect-to uri="login_nok.htm"/>
      </map:match>

Any idea ?

Thanks

Patrick


---------------------------------------------------------------------
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