You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Flynn <pf...@ucc.ie> on 2006/10/02 16:47:53 UTC

use-request-parameters with checkboxes

I'm trying to handle form data from a plain HTML form which is normally
(outside Cocoon) returned in the format

http://foo.bar/cgi-bin?field=value&stuff=abc#def#ghi&more=bar

where the values of selected checkboxes are concatenated with # to
separate the values.

If I change the action attribute of the form element to point to my
Cocoon (using a URI defined in my sitemap.xmap with 
use-request-parameters), it appears that Cocoon silently munges these 
into the format

http://foo.bar/cgi-bin?field=value&stuff=abc&stuff=def&stuff=ghi&more=bar

This makes the data unusable, as the XSLT receives only one value for 
the parameter stuff (the first) and drops the othes on the floor.

Is there a switch which will make the request parameters behave normally?

///Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org