Thank Alex, I'll give this a go.

Paul.

-----Original Message-----
From: Alexander Klimetschek [mailto:aklim...@day.com] 
Sent: 01 July 2009 20:29
To: users@jackrabbit.apache.org
Subject: Re: Newbie: PropertyType.REFERENCE

On Wed, Jul 1, 2009 at 3:23 PM, BOWLER
Paul<paul.bow...@alcatel-lucent.com> wrote:
> Can anyone demonstrate (in code) how to set one Node to point to
another
> Node using node.setProperty(xxx, xxx, PropertyType.REFERENCE).

Node.setProperty(String, Node)

This will make this property point to the node passed as second
argument.

See the javadocs:
http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/Node.html#set
Property(java.lang.String,%20javax.jcr.Node)

Regards,
Alex

-- 
Alexander Klimetschek
alexander.klimetsc...@day.com

Reply via email to