jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Dullaart" <marcel.dulla...@gmail.com>
Subject Re: Interlinking content items
Date Mon, 04 Dec 2006 11:17:55 GMT
So that means that my custom rendering engine, in my case a portlet, is
repsonsible for handling the references, using the uuid in the anchor tag of
the action URL for instance?

Marcel

On 12/4/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> Hi,
>
> On 12/4/06, Marcel Dullaart <marcel.dullaart@gmail.com> wrote:
> > But how are the referecnes actually resolved.
>
> The easiest way is to use the Property.getNode() method. I.e. when you
> have the source node that contains a reference property, you can
> access the referenced target node like this:
>
>     Node source = ...;
>     Node target = source.getProperty("my:reference-property").getNode();
>
> BR,
>
> Jukka Zitting
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message