Hi all,

I have am experiencing very strange behavoir on my self-referencing-
tree when moving nodes around.

+ Root
++ Node 1
+++ Node 1.1
++ Node 2

What are the steps required when moving a sub tree into another part
of the tree (e.g. Moving Node 2 into Node 1.1)
currently i am doing the following

// load source node with get by id
// load destination node with get by id
// Change the source parent to point to the destination node
// saveOrUpdate destination node

That works fine but The index is not maintained correctly. I have a
gap in the index numbers => 0, 2 (1 is missing)
As a result the list is loaded with a NULL element on retrival

thanks!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to