Re: DynaValidatorForm and Checkbox

2005-03-30 Thread Wendy Smoak
From: "Scott Purcell" <[EMAIL PROTECTED]> > DynaValidatorForm theForm = (DynaValidatorForm)form; > String catalogID = theForm.getCatalogID(); > Boolean checkbox = theForm.getCovers(); > But it will not compile. How do I get the values from the form? I usually create my own physical bea

RE: DynaValidatorForm and Checkbox

2005-03-30 Thread Nidel, Mike
n. > > Thanks, > Scott > > > > > -----Original Message- > From: Wendy Smoak [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 30, 2005 10:13 AM > To: Struts Users Mailing List > Subject: Re: DynaValidatorForm and Checkbox > > > From: "Sco

RE: DynaValidatorForm and Checkbox

2005-03-30 Thread Scott Purcell
physical bean. Thanks, Scott -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 30, 2005 10:13 AM To: Struts Users Mailing List Subject: Re: DynaValidatorForm and Checkbox From: "Scott Purcell" <[EMAIL PROTECTED]> > I have a couple

Re: DynaValidatorForm and Checkbox

2005-03-30 Thread Wendy Smoak
From: "Scott Purcell" <[EMAIL PROTECTED]> > I have a couple of jsp pages where there is a single checkbox on the page. > But as a newbie, I am not sure what type in the creation to make it? A String? A Boolean? I usually use Boolean for checkboxes. (Read the docs about using the 'reset' method to

DynaValidatorForm and Checkbox

2005-03-30 Thread Scott Purcell
I have a couple of jsp pages where there is a single checkbox on the page. I would like to create a DynaValidatorForm with a single element in it (the checkbox). Then in the action, run a query, if the database says to turn it on, then I would like to set it to true (X) or else show a unchecked