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 make
: 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 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
research further into how DynaForms
operate.
Sorry for the limited reply, but maybe it will help anyway.
Mike
-Original Message-
From: Scott Purcell [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 30, 2005 11:40 AM
To: Struts Users Mailing List
Subject: RE: DynaValidatorForm and Checkbox
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 bean.
4 matches
Mail list logo