Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 15636 invoked from network); 24 May 2004 01:51:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 24 May 2004 01:51:59 -0000 Received: (qmail 87965 invoked by uid 500); 24 May 2004 00:53:31 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 85098 invoked by uid 500); 24 May 2004 00:52:45 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 73912 invoked by uid 98); 24 May 2004 00:49:02 -0000 Received: from neil.killick@publicimage.eu.com by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(203.30.164.240):. Processed in 0.233507 secs); 24 May 2004 00:49:02 -0000 X-Qmail-Scanner-Mail-From: neil.killick@publicimage.eu.com via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(203.30.164.240):. Processed in 0.233507 secs) Received: from unknown (HELO OZHMAIL0.ozhosting.com) (203.30.164.240) by hermes.apache.org with SMTP; 24 May 2004 00:49:01 -0000 Received: from ycypfi1n8601ohe (unverified [203.217.29.145]) by OZHMAIL0.ozhosting.com (Vircom SMTPRS 3.1.293.1) with ESMTP id for ; Mon, 24 May 2004 10:48:07 +1000 Message-ID: <011701c44128$c5168060$0901000a@ycypfi1n8601ohe> Reply-To: "Neil Killick" From: "Neil Killick" To: References: <006d01c43edf$135c1f10$0901000a@ycypfi1n8601ohe> <40ADB88A.8020204@outerthought.org> Subject: Re: Problem with repeater binding in CForm Date: Mon, 24 May 2004 10:48:02 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Thanks for your reply Marc. Using "lenient=false" I am now seeing an exception "Cannot find specified propery (property setDeliveries)". I get this if I set parent-path to "." or to "deliveries". I get no other errors. "deliveries" is defined as an attribute in the Order bean, and is an ArrayList. So there are getDeliveries() and setDeliveries(ArrayList deliveries) methods defined. And, yes, the Address bean does have setCity(). Any more ideas? Cheers, Neil ----- Original Message ----- From: "Marc Portier" To: Sent: Friday, May 21, 2004 6:06 PM Subject: Re: Problem with repeater binding in CForm > > > Neil Killick wrote: > > > Hi, > > > > > > > > > > > I have also tried setting the parent-path to ".", again to no avail. > > > > afaics that would be what you need, supposing the java call is > order.getDelivery(index) and not order.getDeliveries().getDelivery(index); > > > What am I doing wrong? Basically I don't get any errors, but "Melbourne" > > simply does not appear in the city field. > > > > in fact with a wrong parent-path you wouldn't see any of the other > fields of address either (were those working?) > > hm, you do have a getCity() on the address bean, right? > try setting the lenient="false" on the binding, that would cause more > errors if something isn't right > > HTH, > -marc= > -- > Marc Portier http://outerthought.org/ > Outerthought - Open Source, Java & XML Competence Support Center > Read my weblog at http://blogs.cocoondev.org/mpo/ > mpo@outerthought.org mpo@apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org