Thank Alex, I'll give this a go. Paul.
-----Original Message----- From: Alexander Klimetschek [mailto:[email protected]] Sent: 01 July 2009 20:29 To: [email protected] Subject: Re: Newbie: PropertyType.REFERENCE On Wed, Jul 1, 2009 at 3:23 PM, BOWLER Paul<[email protected]> 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 [email protected]
