This content has been marked as final.
Show 3 replies
-
2. RF 4 How to select treeNode from managed bean
codo Mar 1, 2011 8:58 AM (in response to ilya_shaikovsky)So I find out that rich:tree has an attribute "selection". It has to be bound to Collection<org.richfaces.model.SequenceRowKey>. I still can't find any documentation for class org.richfaces.model.SequenceRowKey. So I still don't know, if I know which tree nodes have to be selected and no idea of their sequence row keys, how to add them to this collection?
-
3. Re: RF 4 How to select treeNode from managed bean
skotinin Nov 9, 2012 1:22 AM (in response to codo)Hi!
You can define an empty Set<SequenceRowKey> in your bean, and make listenerSelectionChanged to output it content to see how it is filled.
A SequenceRowKey must be filled with keys of nodes from the top node to the leaf, that need be marked as selected.