RE: Struts 1.2.9 and checkboxes

2008-11-25 Thread David Barron
-Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 3:39 PM To: Struts Users Mailing List Subject: RE: Struts 1.2.9 and checkboxes --- On Tue, 11/25/08, David Barron wrote: > I'm pulling the data out of the table in the jsp, so how do I

RE: Struts 1.2.9 and checkboxes

2008-11-25 Thread Dave Newton
--- On Tue, 11/25/08, David Barron wrote: > I'm pulling the data out of the table in the jsp, so how > do I set the ActionForm properties? Yikes. Pull the form out of the request (or session) and set the form variable. I sure don't recommend the approach, though; that kind of code really doesn't

RE: Struts 1.2.9 and checkboxes

2008-11-25 Thread Dave Newton
--- On Tue, 11/25/08, David Barron wrote: > Maybe I wasn't clear. If the checkbox is checked in > the addRecord.jsp that means the value of isPermanent > in the data table is true. So when that record is > displayed in theeditRecord.jsp the checkbox should > be checked. I've got it working t

RE: Struts 1.2.9 and checkboxes

2008-11-25 Thread David Barron
rd.jsp but I wanted to avoid that if possible. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 25, 2008 2:09 PM To: Struts Users Mailing List Subject: Re: Struts 1.2.9 and checkboxes Why are you only using the checkbox tag in the "add record&q

Re: Struts 1.2.9 and checkboxes

2008-11-25 Thread Dave Newton
Why are you only using the checkbox tag in the "add record" page? Can't you just set the ActionForm property and use it in the edit page also? Dave --- On Tue, 11/25/08, David Barron <[EMAIL PROTECTED]> wrote: > I'm sure this has been asked before but I haven't had any luck finding > the answer