Re: Struts Form Population

2006-02-06 Thread [EMAIL PROTECTED]
From: Niall Pemberton [mailto: [EMAIL PROTECTED] To: user@struts.apache.org, [EMAIL PROTECTED] Date: Mon, 6 Feb 2006 15:39:49 +0000 Subject: Re: Struts Form Population Indexed properties strictly speaking should be arrays - although inearlier JDK versions they worked with Lists as well - BeanUti

Re: Struts Form Population

2006-02-06 Thread Niall Pemberton
Indexed properties strictly speaking should be arrays - although in earlier JDK versions they worked with Lists as well - BeanUtils allows for lists or arrays. Collections don't have a position or index - so you can't have Collection backed index properties. Niall On 2/6/06, [EMAIL PROTECTED] <[

RE: Struts Form Population

2006-02-06 Thread [EMAIL PROTECTED]
feel free to share. --- On Mon 02/06, Garner, Shawn < [EMAIL PROTECTED] > wrote: From: Garner, Shawn [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Mon, 6 Feb 2006 09:22:23 -0600 Subject: RE: Struts Form Population I believe it is the get method.So if you're property

Re: Struts Form Population

2006-02-06 Thread [EMAIL PROTECTED]
< [EMAIL PROTECTED] > wrote: From: Frank W. Zammetti [mailto: [EMAIL PROTECTED] To: user@struts.apache.org Date: Sat, 04 Feb 2006 08:46:38 -0500 Subject: Re: Struts Form Population Hi Paul,The question is really what will BeanUtils do because Struts uses BeanUtils to populate the form.Looking

RE: Struts Form Population

2006-02-06 Thread Garner, Shawn
I believe it is the get method. So if you're property is named testProperty then you need a public String getTestProperty() and a public setTestProperty(String szTestProperty). When the JSP page is displayed it calls getTestProperty to populate the value. When the page is submitted it calls setTe

RE: [SPAM] Re: Struts Form Population

2006-02-05 Thread Jitendra Kumar
I didn't receive any content in the mail. Please re send you mail. thanx -Original Message- From: Dakota Jack [mailto:[EMAIL PROTECTED] Sent: Sunday, February 05, 2006 11:36 AM To: Struts Users Mailing List Subject: [SPAM] Re: Struts Form Popul

Re: Struts Form Population

2006-02-04 Thread Dakota Jack
You can do what Frank suggests, which I agree with in total, or you can just try it and see what happens. Probably is quicker to try it and see than to ask on this list. On 2/3/06, Paul Benedict <[EMAIL PROTECTED]> wrote: > > When struts auto populates the form, does it look for set methods? > An

Re: Struts Form Population

2006-02-04 Thread Frank W. Zammetti
Hi Paul, The question is really what will BeanUtils do because Struts uses BeanUtils to populate the form. Looking at the docs, I see this: java.lang.IllegalAccessException - if the caller does not have access to the property accessor method java.lang.IllegalArgumentException - if bean or n