jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sridhar Raman" <sridhar.ra...@gmail.com>
Subject Moving nodes from one parent to another?
Date Fri, 29 Dec 2006 05:59:19 GMT

I have the following two nodes, with the children:

I want to put all the AB:entity nodes under a single parent - AB:Entities.
So, how do I do the moving?

I tried a session.move("/AB:Entities[2]", "/AB:Entities"). But it does
nothing. Neither does it throw an exception. When I save the session and
display the contents, it is as it was earlier. No change!

Any help would be appreciated.

Thanks in advance,

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message