cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andre Juffer <>
Subject Processing selection lists
Date Sun, 19 Feb 2006 12:06:19 GMT
Hi all,

how to process a selection list in flow? I have created a cform that 
contains a multivaluefield widget for which the items are created with 


Labels and values are obtained from the business/domain layer. This all 
works very nice. The user selects one or more items and when I check the 
request, I see for instance:

<h:parameter name="roles">

so it all works in the way I had in mind (in the case, the user has 
selected two items). In flow, I want to be able to get to these values 
(the two <h:value> above). Looking through the archive I found one or 
two possible solutions:

But I don't seem to be able to get that to work. Basically, I started 
out with trying:

var roles = cocoon.request.getParameter("roles");

thinking that this would give me a list of strings representing the 
<h:value> items above that I could use to create an array that can be 
processed further. But this seems not to be the case.

So, what is the recommended way to get to these values in flow?


Andre H. Juffer              | Phone: +358-8-553 1161
The Biocenter and            | Fax: +358-8-553-1141
     the Dep. of Biochemistry | Email:
University of Oulu, Finland  | WWW:

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

View raw message