cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Wielgus <>
Subject Form validation problem
Date Mon, 12 Jan 2004 10:03:17 GMT

I'm trying to validate a form for uploading files using the form
validation action. Normally it works correctly, but if I use the
parameter 'enctype = "multipart/formdata"' in the form definition
(and I have to use it as I want to upload the file) every time it
looks like the input were invalid. What's the problem? Or maybe is
it a bug?

My sitemap fragment looks like this:

<map:match pattern="valid-test">
<map:act type="form-validator">
<map:parameter name="descriptor"
<map:parameter name="validate-set" value="transformation"/>
<map:generate type="serverpages" src="validtest/ok.xsp"/>
<map:transform src="validtest/test.xsl"/>
<map:generate type="serverpages" src="validtest/fail.xsp"/>
<map:transform src="validtest/test.xsl"/>


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

View raw message