cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Flynn <pfl...@ucc.ie>
Subject use-request-parameters with checkboxes
Date Mon, 02 Oct 2006 14:47:53 GMT
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


Mime
View raw message