cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Killick" <neil.kill...@publicimage.eu.com>
Subject Re: Problem with repeater binding in CForm
Date Mon, 24 May 2004 00:48:02 GMT
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" <mpo@outerthought.org>
To: <users@cocoon.apache.org>
Sent: Friday, May 21, 2004 6:06 PM
Subject: Re: Problem with repeater binding in CForm


>
>
> Neil Killick wrote:
>
> > Hi,
> >
> >
>
> <snip what="sample snippets" />
>
> >
> > 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


Mime
View raw message