commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Tordini <flaviotord...@tin.it>
Subject Re: [BeanUtils] How to set a mapped property when the key contains dots?
Date Fri, 29 Aug 2003 08:18:54 GMT
It works! Thank you so much, robert!

flavio


robert burrell donkin wrote:

> hi Flavio
> 
> there are a couple of problems with the example. on is a bug with 
> beanutils (which i've hopefully fixed now) and the other is that the 
> mapped set property on your example bean is shielded by the standard 
> property with the same name.
> 
> it needs to be something like:
> 
>     getMappedProperty(String key)
>     setMappedProperty(String key, Object value)
> 
> once you make this change an upgrade to the next nightly, i hope that 
> everything will work.
> 
> - robert
> 
> On Tuesday, August 26, 2003, at 10:33 AM, Flavio Tordini wrote:
> 
>> i tried with the most recent nightly build, to no avail. i'm attaching 
>> a small
>> class that demonstrates the bug. hope this helps!
>>
>> flavio
>>  ---------------------------------------------------------------------
>> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 


Mime
View raw message