struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fernando Esteban Barril Otero" <ferna...@visionnaire.com.br>
Subject Re: BeanUtil BUG
Date Mon, 18 Feb 2002 15:42:31 GMT
I think that is the normal behavior for JavaBean properties.
When you have a setter/getter for a property starting with
more than one upper char, the property name must have exactly
the same name (without the "normal" convention).

----- Original Message ----- 
From: "emmanuel.boudrant" <b7st@yahoo.fr>
To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
Sent: Monday, February 18, 2002 11:32 AM
Subject: BeanUtil BUG


> 
> Hello,
> 
> I've got a FormBean with property like this:
> 
> private String nIdentifiant=null;
> 
> public String getNIdentifiant(...
> 
> public void setNIdentifiant(...
> 
>  
> 
> private String nmClient=null;
> 
> public String getNmClient(...
> 
> public void setNmClient(...
> 
>  
> 
> My action throw an exception ; no getter for property nIdentifiant....
> 
> And when I make a BeanUtil.describe(myForm); I've got this output:
> 
> [NIdentifiant=null ; nmClient = null ... ]
> 
> NIdentifiant must be nIdentifiant !
> 
>  
> 
> I'm under Struts1.0
> 
>  
> 
> thank
> 
> Emmanuel


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message