I have a iterator where each value is the label of a checkbox.
How could I set each value into the checkbox label?
This is code:
<s:iterator id="reports" value="reports" status="reportStatus">
<tr>
<td>
<s:checkbox name="reports" label="%{reports}" value="false"/>
</td>
</tr>
</s:iterator>
label="%{reports}" sets all values of the iterator.
Where could I find all status properties (first, last, odd, even, count,
etc.)
Thanks in advance.
Tony
--
View this message in context:
http://www.nabble.com/How-to-set-checkbox-label-value-in-a-iterator-tf4035305.html#a11463698
Sent from the Struts - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]