RE: Posting Collections

2001-05-11 Thread Tony Karas
around with the code every time a new version comes out. Cheers ;-) Tony From: Niall Pemberton [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Posting Collections Date: Thu, 10 May 2001 20:23:31 +0100 This issue applies to all form field tags, not just checkboxes

RE: Posting Collections

2001-05-10 Thread Tony Karas
wondering whether I should just jack it in and use something else. Cheers Tony From: Niall Pemberton [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Posting Collections Date: Wed, 9 May 2001 20:51:00 +0100 The problem is the CheckBox tag currently sets the HTML

RE: Posting Collections

2001-05-10 Thread Niall Pemberton
[mailto:[EMAIL PROTECTED]] Sent: 10 May 2001 10:34 To: [EMAIL PROTECTED] Subject: RE: Posting Collections Many thanks Niall, that clears things up for me. Do you know if there is a reason why this is the behaviour for checkboxes? Is this just with checkboxes or other tags as well? I

RE: Posting Collections

2001-05-09 Thread Niall Pemberton
The problem is the CheckBox tag currently sets the HTML name attribute to the property, so your JSP will produced something like this: input type=checkbox name=delete So all the checkbox fields will have the same name. In order for Struts to populate your Retailer bean with the delete

RE: Posting Collections

2001-05-09 Thread Niall Pemberton
The problem is the CheckBox tag currently sets the HTML name attribute to the property, so your JSP will produced something like this: input type=checkbox name=delete So all the checkbox fields will have the same name. In order for Struts to populate your Retailer bean with the delete

RE: Posting Collections

2001-05-09 Thread Deadman, Hal
I think I am doing the same thing that you want to do using the html:multibox. When the form is submitted you get an array of the ids that are checked and then you can go delete them. in the jsp form (where restaurant id is a key for the item being deleted): logic:iterate id=restaurant