jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Are child nodes ordered collections? or is order not guaranteed as in databases?
Date Mon, 01 Feb 2010 08:48:48 GMT
hi philip,

On Sun, Jan 31, 2010 at 6:55 AM, philip andrew <philip142au@gmail.com> wrote:
> Hi,
> I am making a CMS with Jackrabbit, I wish to know, are the child nodes of a
> node ordered? Can I change the order of the nodes?



> Previously, I was using (sorry this is Scala code, just think of the same in
> Java)
>  @BeanProperty
>  @Collection var children:java.util.List[OPageNode] = _
> But I found that this created paths that I didn't like, ie, the node had a
> element node called children and collection elements, so I moved back to
> just having nodes at path locations.
> So, I am not using the above method of using a @Collection, I am just using
> the normal nodes at paths.
> Thanks, Philip

View raw message