As I could not find any resolution for this issue, I would like to write java code in JSP :(
styl9090 wrote: > > Hi All, > > In my application, I need to generate check boxes for every row of data. > I set the data as a list of objects in my controller and I access the same > in JSP using <logic:iterate> > For each row of this data, I need to add a checkbox with 'value' attribute > as a field in the data row object... here it is user_id.(data set is in > request scope) > How can I achieve this? Or do I need to use traditional java code in JSP > :( > > I have like this: > <logic:iterate id="userObj" name="userResults" type="com.UserDO"> > <html:checkbox name="testForm" property="checkList" > value=???????????????????? /> > and I have other data: > <bean:write name="userObj" property="user_id"/> > <bean:write name="userObj" property="first_name"/>... > </logic:iterate> > > Any help is appreciated. > > Thanks in Advance, > Shekar. > -- View this message in context: http://www.nabble.com/%3Chtml%3Acheckbox%3E-problem.-tf3155449.html#a8753148 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]