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

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

I've got this in place ... (using velocity in my views)

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

As you can see, name and value above can change to any value, but I need to know of a method name ahead of time so that I can capture any value, so I'm looking for something like ...

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

Any help much appreciated.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to