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#setProperty(java.lang.String,%20javax.jcr.Node)

Regards,
Alex

-- 
Alexander Klimetschek
[email protected]

Reply via email to