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
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] <[
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
< [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
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
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
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
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
8 matches
Mail list logo