Does %{#stat.index} not work?
On 4/12/10, lucas owen <[email protected]> wrote:
> Hi Struts users:
>
> I'm wondering if it would be possible to pass status.index attribute of
> s:iterator to a javascript function.
> Something like this:
>
>
> <s:iterator value=*"notificationList"* var=*"notification"* status=*"stat"*>
>
> <tr>
>
> <td scope=*"row"*>
>
> <s:checkbox name=*"IdNotification"* value=*"%{selected}"* fieldValue=*
> "%{notificationID}"* onclick=*"javascript:markNotification(stat.index);"*/>
>
> </td>
>
> </tr>
>
> Thanks in advance!
>
--
Sent from my mobile device
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]