Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 56710 invoked from network); 27 Aug 2003 23:31:37 -0000 Received: from unknown (HELO smtp-out6.blueyonder.co.uk) (195.188.213.9) by daedalus.apache.org with SMTP; 27 Aug 2003 23:31:37 -0000 Received: from localhost ([82.38.66.131]) by smtp-out6.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.5600); Thu, 28 Aug 2003 00:31:33 +0100 Date: Thu, 28 Aug 2003 00:33:32 +0100 Subject: Re: [BeanUtils] How to set a mapped property when the key contains dots? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) From: robert burrell donkin To: "Jakarta Commons Users List" Content-Transfer-Encoding: 7bit In-Reply-To: <200308261133.56418.ftordini@tiscali.com> Message-Id: X-Mailer: Apple Mail (2.482) X-OriginalArrivalTime: 27 Aug 2003 23:31:33.0090 (UTC) FILETIME=[597FB420:01C36CF3] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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