Hi, I am developing a page which shows multiple records. I am using multibox control to enable the user to select multiple records he/she wants to delete and providing links to each record , so user can click the link and go to the edit page for that record. I would like to call JavaScript method under the href property and pass id for the record as an argument. The JavaScript method will call the editable page for the record by calling the window.showModalDialogBox method. I have a problem passing the Id for the record the to JavaScript method (upItem). I appreciate your help.
following is the code I have written. <table> <logic:iterate id="objActivities" name="groupActivityForm" property="activities" indexId="index"> <tr style="background:#FFFFFF;" > <td align="center" valign="top"> <html:multibox name="groupActivityForm" property="activityIds"> <bean:write name="objActivities" property="actId"/> </html:multibox> </td> <td align="left" valign="top" class="tablelist" style="margin-left:0.2in;"> <bean:write name="objActivities" property="actId"/> </td> <td align="left" valign="top" class="tablelist" style="margin-left:0.2in;"> <html:link href="javascript:upItem(<bean:write name=\'objActivities\' property=\'actId\'/>)" > <bean:write name="objActivities" property="actName"/> </html:link> </td> </tr> </logic:iterate> </table> Thanks Sarveswara Rao -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>