On Thu, Jul 2, 2009 at 10:26 AM, BOWLER
Paul<paul.bow...@alcatel-lucent.com> wrote:
> How can I now create another node elsewhere in my tree that references this 
> node? The documentation is not clear on this.

The JCR 1.0 spec talks about REFERENCE properties in section 4.7.2 [1]
and clearly points to the Node.setProperty(String, Node) method. The
(standard) methods for setting properties are all named setProperty(),
just with different arguments. The javadoc of that method says: "Sets
the specified (REFERENCE)property to refer to the specified Node."

What is that not clear about that?

[1] 
http://www.day.com/specs/jcr/1.0/4.7.2_Reference,_Path_and_Name_Property_Types.html

Regards,
Alex

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

Reply via email to