jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugeny N Dzhurinsky <b...@redwerk.com>
Subject Re: node path manipulation
Date Fri, 21 Apr 2006 10:35:06 GMT
On Fri, Apr 21, 2006 at 12:20:37PM +0200, Martin Perez wrote:
> Take a look to the workspace.copy and session.move methods. It's just what
> you need.

Actually I'm using session.move method.
But this method expects target node to be a *complete* path
I mean if I need to move node 'test' from /root/node1/test to /root/node2/test
i need to use 

session.move('/root/node1/test','/root/node2/test'); and not
session.move('/root/node1/test','/root/node2'); because it will complain about
node exists. So i need some way to append node name to path of target node.

Eugene N Dzhurinsky

View raw message