Re: Multiple choice select

2002-12-06 Thread Kris Schneider
Marcus, Not at all stupid, the whole select/option thing can get a bit hairy. Let's say your form allows the selection of ice cream flavors (I'm hungry this morning). If you want to allow the selection of multiple flavors, your action form would have methods like: public String[] getFlavors() pu

Multiple choice select

2002-12-06 Thread Marcus Andersson
Hi all I'm not very good at Struts yet so maybe my question is a bit stupid. I have two collections: one with all elements from some collection and one collection wich is a subset of the first collection (the selected elements). What is the easiest way to render a select box with all the elements