jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Interlinking content items
Date Mon, 04 Dec 2006 10:39:57 GMT
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
View raw message