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" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to