jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alarcher <antoinelarc...@gmail.com>
Subject Re: Nodes reference between workspace
Date Tue, 25 Nov 2008 19:09:13 GMT

Thanks alex for your answer.
Yep, I was thinking about this kind of alternative solution :)

Thanks again.

Regards,

Antoine Larcher


Alexander Klimetschek wrote:
> 
> No you cannot link between different workspaces. The clone feature you
> mention is actually preventing this on a technical level, since the
> references are expressed through uuids, which are the same for
> corresponding nodes in different workspaces. Hence uuids are only
> unique inside one workspace.
> 
> As an alternative, you could use a string property containing the
> workspace name and the path of the node and handle the node resolving
> in you application code.
> 
> Regards,
> Alex
> 
> On Tue, Nov 25, 2008 at 3:59 PM, alarcher <antoinelarcher@gmail.com>
> wrote:
>>
>> Hi,
>>
>> In JR, you can add a property typed "Reference" which points to a node
>> (in
>> fact the property value is the referenced node uuid).
>> I wonder if it is possible to make a property link to a node which is in
>> another workspace.
>>
>> I read about the clone functionnality in JR which allows to create
>> "corresponding nodes" between different workspaces, but this is not
>> really
>> what I would like (because in this case you have no "reference"
>> property).
>>
>> Is there a way for doing this ?
>>
>> Thanks a lot,
>> Antoine Larcher
>> --
>> View this message in context:
>> http://www.nabble.com/Nodes-reference-between-workspace-tp20682082p20682082.html
>> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>>
>>
> 
> 
> 
> -- 
> Alexander Klimetschek
> alexander.klimetschek@day.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Nodes-reference-between-workspace-tp20682082p20687685.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message