RE: Struts get string and is boolean

2008-03-13 Thread Peters, John
Thankssorry I missed it..inbox was cluttered -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2008 9:27 AM To: Struts Users Mailing List Subject: RE: Struts get string and is boolean --- "Peters, John" <[EMAIL PROTECTED]&

RE: Struts get string and is boolean

2008-03-13 Thread Dave Newton
--- "Peters, John" <[EMAIL PROTECTED]> wrote: > Any ideas? I haven't seen any replies other than my own. Dave > From: Peters, John > > Is it possible to have multiple methods for the same value? > Then have the jsp either load a text box or a check box For example > Depending the circumstance

RE: Struts get string and is boolean

2008-03-13 Thread Peters, John
Any ideas? -Original Message- From: Peters, John Sent: Friday, March 07, 2008 10:57 PM To: 'Struts Users Mailing List' Subject: Struts get string and is boolean Is it possible to have multiple methods for the same value? Then have the jsp either load a text box or a check box For exampl

Re: Struts get string and is boolean

2008-03-07 Thread Jeromy Evans
Dave Newton wrote: For example Depending the circumstance I load setValue(boolean) or setValue(String). In S2 it could cause problems with the form tags; it expects form values to follow JavaBean standards. I'm not sure what would happen. Dave You can have the two setters if you want, bu

Re: Struts get string and is boolean

2008-03-07 Thread Dave Newton
--- "Peters, John" <[EMAIL PROTECTED]> wrote: > Is it possible to have multiple methods for the same > value? Then have the jsp either load a text box or a > check box For example Depending the circumstance > I load setValue(boolean) or setValue(String). Then can > the jsp page create either a