jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vlad vesa <numaplictis...@yahoo.com>
Subject node alias
Date Fri, 06 Mar 2009 13:47:14 GMT

hello everyone, i'm in big trouble

i have a jackrabbit repository with the nodes:  nt:file   nt:folder each
having the properties with respect:
         nt:file 
             rep:owner_file
             rep:shared_file
         nt:folder 
             rep:owner_folder
             rep:shared_folder

    The properties are multivalues and... how i set them... well... i hacked
the custom_nodetypes.xml located in the core of jackrabbit < ---  very bad,
i think... but i did it. The application works fine and now there are nodes
that have these properties set.

    Meanwhile i am obliged to hack this file at each upgrade of
jackrabbit...and because i understand better how can i register new
nodetypes without hacking... i must pass from the old structure, to the new
one with:

             nt:custom_folder_node
                  with properties       rep:owner
                                             rep:shared
            nt:custom_file_node
                  with properties       rep:owner
                                             rep:shared

Is there a way to do this?  I was thinking at some " node aliasing" but it
is not very clear what i want to do.

Regards
Vlad
-- 
View this message in context: http://www.nabble.com/node-alias-tp22372806p22372806.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message