Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 63FF99A13 for ; Fri, 11 Nov 2011 01:07:06 +0000 (UTC) Received: (qmail 2148 invoked by uid 500); 11 Nov 2011 01:07:05 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 2072 invoked by uid 500); 11 Nov 2011 01:07:05 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 2064 invoked by uid 99); 11 Nov 2011 01:07:05 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 01:07:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maurizio.cucchiara@gmail.com designates 209.85.161.171 as permitted sender) Received: from [209.85.161.171] (HELO mail-gx0-f171.google.com) (209.85.161.171) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 01:06:59 +0000 Received: by ggnr5 with SMTP id r5so5031078ggn.30 for ; Thu, 10 Nov 2011 17:06:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; bh=ySib/XYRTCxJxkeiFr9X8zToNnTM30Vgk7v56EYlAWc=; b=V7abeQbJNwb7oxe6HUnQNtw9QvZ8Td275hhDw24RM57N4L1+w4km5vvRS4EAmEtL33 /mr04wrwhKp+OBXyTbuF6CXpMgZhde5XL5p3kNcplDphCoHTnLmOC6qTooxraWRUtxIy tYgLq/jCTQQoe8DproObBs93gQrGCm+cNni+c= Received: by 10.68.208.225 with SMTP id mh1mr19778171pbc.17.1320973598083; Thu, 10 Nov 2011 17:06:38 -0800 (PST) MIME-Version: 1.0 Sender: maurizio.cucchiara@gmail.com Received: by 10.143.7.3 with HTTP; Thu, 10 Nov 2011 17:06:17 -0800 (PST) In-Reply-To: References: From: Maurizio Cucchiara Date: Fri, 11 Nov 2011 02:06:17 +0100 X-Google-Sender-Auth: TVlKwkqR9ZDS2KD_KQuJraBLnZw Message-ID: Subject: Re: [BeanUtils] Debugging BeanMap To: Commons Users List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org I'm not sure this is what you are looking for, I'm assuming you are trying to write into the student bean, I hope this will be useful (it works on my side): @Test public void testBeanMap() throws Exception { Student student =3D new Student(); BeanMap map =3D new BeanMap(student); assertNotNull(map); map.put("id", 1); map.put("course", new Course("course name")); assertEquals(1, student.getId()); assertEquals("course name",student.getCourse().getName()); } Twitter =A0 =A0 :http://www.twitter.com/m_cucchiara G+ =A0 =A0 =A0 =A0 =A0:https://plus.google.com/107903711540963855921 Linkedin =A0 =A0:http://www.linkedin.com/in/mauriziocucchiara Maurizio Cucchiara On 11 November 2011 01:51, Chris Pratt wrote: > StringMapAdaptor --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@commons.apache.org For additional commands, e-mail: user-help@commons.apache.org