Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 95732 invoked from network); 9 Nov 2004 18:41:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Nov 2004 18:41:57 -0000 Received: (qmail 43694 invoked by uid 500); 9 Nov 2004 18:41:44 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 43619 invoked by uid 500); 9 Nov 2004 18:41:43 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 43604 invoked by uid 99); 9 Nov 2004 18:41:43 -0000 X-ASF-Spam-Status: No, hits=1.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS,FROM_HAS_ULINE_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [206.190.38.239] (HELO web51808.mail.yahoo.com) (206.190.38.239) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 09 Nov 2004 10:41:42 -0800 Received: (qmail 5312 invoked by uid 60001); 9 Nov 2004 18:41:40 -0000 Message-ID: <20041109184139.5310.qmail@web51808.mail.yahoo.com> Received: from [208.20.220.69] by web51808.mail.yahoo.com via HTTP; Tue, 09 Nov 2004 10:41:39 PST Date: Tue, 9 Nov 2004 10:41:39 -0800 (PST) From: Steve Blom Subject: [digester] Key/Value setting (oops, forgot subject heading) To: commons-user@jakarta.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, I'm trying to put contents into a map object like so: ... ... I have a person object, that i want to store in a map with the key being the person id. Is this possible? I think I'm close, but missing on something. digester.setObjectCreate("people", java.util.HashMap); digester.setObjectCreate("people/person", bean.Person.class); digester.setCallMethod("people/person", "put", 2); digester.setCallParam("people/person", 0, "id"); digester.setCallParam("people/person", 1); ? The id is set right, but the object value isn't. What am i missing? Thanks - Steve __________________________________ Do you Yahoo!? Check out the new Yahoo! Front Page. www.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org