I'm surprised it is working when the view is rendered. Does your 'value' attribute actually get set somehow? You are trying to make a call to getToolItem(String). Does this method exist in your action, and if it does you would usually have to expose the action using a method like getModel() { return this;}.
Regardless, I think you are confusing velocity and webwork. Your setToolItem(String) method will be called if the name of your input field is "toolItem". If your input field has the name "toolItem(Grobe)", then WebWork will attempt to invoke "setToolItem(Grobe)(String), which obviously will not work. If you have a series of checkboxes and each has a different name, you should probably use the request object directly and iterate through the parameter list manually. Depending on your situation, you can give them all the same name (such as "toolItem") and if you have a method setToolItem(String[]), WebWork will invoke it for you. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of > G.L. Grobe <snip> > --- my.vm > <input type="checkbox" name="toolItem($set.name)" > value="$toolItem($set.name)">$set.name > > --- webwork action > // get's called when view page is loaded > public String getToolItem() { return item; } > > // I thought should be called when the view form is submitted, but > doesn't > public void setToolItem(String tool) { > // ... start collecting tool params each time this method is > called for each checkbox > } > --- ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork