I have the code fragment which passes the current index in logic:iterate tag
to the javascript function "openChildWindowNew". I am not able to do that as
index value is never passed because indexed counter is never evaluated.

The code is like:

<logic:iterate id="finduser" name="userlist" indexId="ind" >

                    <tr width="100%">

 

                        <td align="left" width="50%">

                            <bean:write name="finduser" property="username"
filter="true"/>

                        </td>

                            

                        <td align="left" width="50%">

                            <html:text

                                name="finduser"

                                property="role"

                                size="30"

                                maxlength="30"

                                indexed="true"

                                onclick="javascript:openChildWindowNew( ind
)" />

                        </td>

 

                    </tr>

</logic:iterate>

 

any help is appreciated.

 

Anubhav


**************************************************************************** 
This email may contain confidential material. 
If you were not an intended recipient, 
Please notify the sender and delete all copies. 
We may monitor email to and from our network. 
****************************************************************************

Reply via email to