Does %{#stat.index} not work? On 4/12/10, lucas owen <sr.ilus...@gmail.com> 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: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org