I create a number of checkboxes pending the number of items returned from a db query.

Is there a way to create a single servlet method that would be called once the page is submitted to collect all the values that were checked?

I've got this in place ...

#foreach ( $set in $toolsList )
<input type="checkbox" name="$set.name" value="$set.name">$set.name
#end

... but name needs to be something that I know of to capture it's value, so I'm looking for something like ...

<input type="checkbox" name="someMethod($set.name)" value="$set.name">$set.name

Any help much appreciated.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to