Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

s:iterator status doubt

lucas owen

2010-04-12

Replies: Find Java Web Hosting

Author LoginPost Reply
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!
©2008 gg3721.com - Jax Systems, LLC, U.S.A.