I have a form which contains a set of search results, as such they are dynamic:
From the HTML:
<input type="checkbox" name="runner_3650" value="true" id="addrunners_runner_3650"/>
<input type="hidden" name="__checkbox_runner_3650" value="true" /></div> <div id="wwlbl_addrunners_runner_3650" class="wwlbl">
<label for="addrunners_runner_3650" class="checkboxLabel">Jim</label></div>
From the
JSP:
<s:checkbox label="%{runnerName}" name="runner_%{id}" />
What I get when I try to run this is an input error. (it wants to use setRunner_3650() when there is no such setter.)
What I am looking for is something along the lines of a way to handle dynamically generated form parameters.
In the past using regular JSPs I've directly gotten the information from the request, but the action doesn't have access to that as far as I can tell, and it gives a input error trying to set the fields.