jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guo Du <mrdu...@gmail.com>
Subject Re: Can a node be shared by more than one parent.
Date Thu, 17 Sep 2009 09:02:31 GMT
On Thu, Sep 17, 2009 at 9:52 AM, Sunil Dhage
<sunil.dhage@coreobjects.com> wrote:
> Hi,
>
> We have a requirement in which we need to have a node which can be accessed through two
different parent nodes.
>
> If yes, can you provide an example.
>
> Alternative solutions are appreciated.

e.g. You have node path /a/b/c/d/1/2/3/4
and you want to have another path to access such as /foo/bar/1/2/3/4

You may use reference node to point /foo/bar to /a/b/c/d, then when
you looked up path at /foo/bar, switch to node /a/b/c/d, and continue
traverse.

Any better ideas :)

-Guo

Mime
View raw message