Thanks for your reply... BUT it take the default value="on" when I do the way as you were telling me. I want to put the value="232" where 232 is the id value corresponding to my record.
-- Raman ----- Original Message ----- From: "Mohan Radhakrishnan" <[EMAIL PROTECTED]> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]> Sent: Saturday, January 17, 2004 5:02 PM Subject: RE: <html:checkbox pls help > Raman, > > What's wrong with this ? <html:checkbox property="deleteItem"/> > > Shouldn't this pick up the property from the ActionForm and generate > value="x" for example. > Is yours dynamic ? > > Mohan > > -----Original Message----- > From: Raman [mailto:[EMAIL PROTECTED] > Sent: Saturday, January 17, 2004 12:43 PM > To: Struts Users Mailing List > Subject: <html:checkbox pls help > > > Hello, > > I have a checkbox and i want to assign <html:checkbox > value. and that value should be my "id" value. > How should i do that. > > > > <html:checkbox property="deleteItem" value="??"> > Delete > </html:checkbox> > here i want value to be my "id" value of table.. i have this string in > <logic:iterate loop > > What I did till now: > > I have <bean:define id="val1" name="subfilters" property="subFilterId"/> > and assign this as <html:checkbox property="subfilterids" > value="<%=val1%>"> > still it is not working and giving me error > > this may be simple issue.. but i have tried and couln't find solution.. Pls > help. > > > -- Raman > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

