Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 22810 invoked from network); 19 Mar 2004 08:04:18 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Mar 2004 08:04:18 -0000 Received: (qmail 63135 invoked by uid 500); 19 Mar 2004 08:03:50 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 63115 invoked by uid 500); 19 Mar 2004 08:03:50 -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 63089 invoked from network); 19 Mar 2004 08:03:49 -0000 Received: from unknown (HELO unxcoms01.ecnetwork.co.nz) (202.135.116.201) by daedalus.apache.org with SMTP; 19 Mar 2004 08:03:49 -0000 Received: from serpent.ecnetwork.co.nz (serpent [202.135.190.10]) by unxcoms01.ecnetwork.co.nz (8.12.8/8.12.8) with ESMTP id i2J840pG014406 for ; Fri, 19 Mar 2004 21:04:00 +1300 Received: from pcjohns.ecnnz.ecnetwork.co.nz (unknown [202.135.190.30]) by serpent.ecnetwork.co.nz (Postfix) with ESMTP id E8BD21035 for ; Fri, 19 Mar 2004 20:10:33 +1200 (NZST) Subject: Re: [Digester] addSetProperties From: Simon Kitching To: Jakarta Commons Users List In-Reply-To: <10DAB09AC77BE9478B7DAE3C9AE51D7A01B1FF44@ffz00zm8.ffz00e.mail.dresdner.net> References: <10DAB09AC77BE9478B7DAE3C9AE51D7A01B1FF44@ffz00zm8.ffz00e.mail.dresdner.net> Content-Type: text/plain Message-Id: <1079683321.734.11.camel@pcsimon> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 19 Mar 2004 21:02:01 +1300 Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Fri, 2004-03-19 at 07:32, Pretterhofer, Guenter (ext.) wrote: > > > user1 > > > user2 > > [snip] > digester.addObjectCreate("property", > Property.class); > > digester.addObjectCreate("property/database", > Database.class); > > digester.addSetNext("property/database", > "addDatabase"); > > digester.addSetProperties("/property/database"); > > digester.addBeanPropertySetter("property/database/user", "user"); All looks ok to me, except that the pattern "/property/database" should be "property/database". With the leading slash, it is probably getting completely ignored. Are you aware that Digester generates lots of useful debug output if you enable logging? Digester uses "commons-logging", so you just need to set the right properties via "java -Dxxxxx" or have the right logging config files in the classpath to enable logging. See the docs for commons-logging for more info. Regards, Simon --------------------------------------------------------------------- To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-user-help@jakarta.apache.org