Hello,
I am having an issue with
struts 2 checkboxes vs html checkboxes
here is what an html checkbox does:
<input type="checkbox" name="checked" value="sam"/>
<input type="checkbox" name="checked" value="john"/>
<input type="checkbox" name="checked" value="paul"/>
which gives you an array of strings[].
but i want to use the value out of an iterator
<s:iterator value="people" status="stat">
<s:checkbox theme="simple" name="checked" value="%{userid}" />
</s:iterator>
unfortuneately, this only returns me an array trues.
does anyone know how I can get the value of userids, instead of true?
Thanks.
Charlene