18, 2004 11:01 AM
> > To: Struts Users Mailing List
> > Subject: Re: property has no getter method
> >
> >
> >
> > I've had such troubles. I don't know if it comes from struts
> > (common-beanutils) way to introspect object to discover
>
> From: Yu, John [mailto:[EMAIL PROTECTED]
> Could you point me to the exact place this is documented?
JavaBeans Specification:
http://java.sun.com/products/javabeans/docs/spec.html
If you stick to the naming conventions in there, you'll have no problems
with Struts ActionForms, BeanUtils.copyPr
ocumented?
Thanks,
John
> -Original Message-
> From: Wendy Smoak [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 12:07 PM
> To: Struts Users Mailing List
> Subject: RE: property has no getter method
>
>
> > From: Yu, John [mailto:[EMAIL PROTECTED]
> &g
> From: Yu, John [mailto:[EMAIL PROTECTED]
> I ran into "Property has no getter method"
> errors when running my application under JDK 1.3.1.
> the last property on the chain has one
> getter and two setter (e.g. getAge:Integer, setAge(int),
> setAge(Integer))
Your
Thanks Nico. Does it happen consistently for you, or it's
only on certain properties?
- John
> -Original Message-
> From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 18, 2004 11:01 AM
> To: Struts Users Mailing List
> Subject: Re: property
le setters with various parameter type.
I've also noticed this seems to work better under jdk 1.4.
To solve this, I'd suggest to rename incompatible setters to setAgeAsInt(int), so that
javabean 'Age' property is
strictly defined as beeing of type int.
Nico.
> Hi,
&
Hi,
I ran into "Property has no getter method"
errors when running my application under JDK 1.3.1.
Here's some background information:
- Happens on .
- I'm using nested property, and the last property on the chain has one
getter and two setter (e.g. getAge:Integer, setAge(
7 matches
Mail list logo