Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@www.apache.org Received: (qmail 24199 invoked from network); 2 Jul 2007 03:46:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jul 2007 03:46:27 -0000 Received: (qmail 67864 invoked by uid 500); 2 Jul 2007 03:46:28 -0000 Delivered-To: apmail-jakarta-commons-dev-archive@jakarta.apache.org Received: (qmail 67769 invoked by uid 500); 2 Jul 2007 03:46:28 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 67758 invoked by uid 99); 2 Jul 2007 03:46:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 20:46:28 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Jul 2007 20:46:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C21D67141ED for ; Sun, 1 Jul 2007 20:46:04 -0700 (PDT) Message-ID: <24722581.1183347964791.JavaMail.jira@brutus> Date: Sun, 1 Jul 2007 20:46:04 -0700 (PDT) From: "Niall Pemberton (JIRA)" To: commons-dev@jakarta.apache.org Subject: [jira] Resolved: (BEANUTILS-43) Mapped property inside a mapped property is not populated on submit MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/BEANUTILS-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Niall Pemberton resolved BEANUTILS-43. -------------------------------------- Resolution: Fixed Assignee: Niall Pemberton Also see BEANUTILS-247 (improved indexed property support) > Mapped property inside a mapped property is not populated on submit > ------------------------------------------------------------------- > > Key: BEANUTILS-43 > URL: https://issues.apache.org/jira/browse/BEANUTILS-43 > Project: Commons BeanUtils > Issue Type: Bug > Components: Expression Syntax > Affects Versions: 1.7.0 > Environment: Operating System: Windows XP > Platform: PC > Reporter: Firepica > Assignee: Niall Pemberton > Fix For: 1.8.0 > > > Hi, everyone. > Suppose, I have a Map in my form, called "person": > private Map person; > That Map has (besides other entries), a entry called "addresses", which is in > turn a Map again. This "addresses" Map has several addresses of the person. One > of those addresses has key "home" and String value of home address. > I want to render a text input field for the "home" address - I use EL syntax, no > brackets (it renders element correctly): > > In html this element is _being rendered correctly_, including correctly > displayed value of home address, taken from the "addresses" Map. > However, if I submit this form with changed value of address, it's not being > populated. > I wrote my own implementation of "addresses" Map to see what's happening, and I > saw that no put method is called at all (only get() while rendering the element). > So then I also made custom implementation of "person" Map and saw there, that > while submitting, it calls get("addresses") (which returns "addresses" Map) and > that's all. > So apparently, BeanUtils sees, that it retrieved a Map and stops processing, not > generating any exceptions BTW. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org