jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luis Gervaso" <luis.gerv...@gmail.com>
Subject cut /copy / paste
Date Tue, 10 Jun 2008 11:41:12 GMT
 Hello all,

This is my first post to the list

I'm developing an application using Jackrabbit 1.4.4

I need to perform cut / copy / paste (after and inside) actions over the
resources tree and *maintain the order*

For example:

/root
  /parent-node1
     /child-node11
     /child-node12
     /child-node13
  /parent-node2
    /child-node21
    /child-node22

if i cut child-node22 and paste-after /child-node12 i want to have

/root
  /parent-node1
     /child-node11
     /child-node12
     /child-node22
     /child-node13
  /parent-node2
    /child-node21

the important thing here is maintaining the order of the elements (each nod=
e
have an index inside its collection)

My question is =BFis jackrabbit maintaining any kind of order in childNodes
out of the box?

Any help will be appreciated, actually i don't know if this is the correct
way

Regards

Luis

-- 
-------------------------------------------
Luis Alberto Gervaso Martin
Java EE Architect & Instructor
C/ Cuenca 4A, 2ºB
Getafe (Madrid)
SPAIN
mobile: (+34) 627983344
luis.gervaso@gmail.com

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