CTree node refs - creation vs selection

I am a bit confused as to the node references that are returned by $ctree->insert_node compared with the ones 
I get from $ctree->selection(). That is, the one I get from the selection is different every time a selection 
is made.

I have a rather complex tree with a lot of rows with the same text and I thought the easiest way of working 
out what had been selected would be to keep all the node refs in a hash at creation and then work backwards 
from the selected node ref to my value. This doesn't work as the returned node ref looks different each time.

For example repeatedly selecting the same row gives me:

Any ideas as to what I am doing wrong or a better way to do this?

Thanks in advance,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]