Hi,
As I understood what you have to do is,
Iterate through your list and add checkboxes as folllwing...

<logic:iterate id="Emp" type=""...>

<html:checkbox  property="prop1" value="true"
onclick="submitForm("editaction.do?id=<bean:write name="Emp"
property="ID"/>")" />
<bean:write name="Emp" property="name"/>


</logic:iterate>

Regards,
Mano




-----Original Message-----
From: Kranti Parisa [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 13, 2006 2:07 PM
To: Struts Users Mailing List
Subject: logic:iterate for arraylist of beans

hi,

i am facing proble for the following
=========================
assigning value to check box

say logic:iterate is having arraylist
this arraylist is with beans
means for example employee bean
i want to view all emps in jsp
what we will do is we create a bean for each employee
and add tht bean to arraylist
so tht we have this arraylist in jsp
then we use logic:iterate
to iterate the arraylist
now we need to print the rows
each row contains a check box
this check box should get the value as empid
so tht when i select the checkbox
we can do delete or modify..etc
============================

plzzzzz suggest/help from this.
stuck up completely with this.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to