This content has been marked as final.
Show 4 replies
-
1. Re: highlight selection in rich:tree
nbelaevski Mar 5, 2009 7:35 PM (in response to stephanos)Hello Stephan,
Use:<rich:tree selectedClass="" ...
-
2. Re: highlight selection in rich:tree
stephanos Mar 6, 2009 5:40 AM (in response to stephanos)Cool, didn't even notice that attribute!
There is only one catch right now: There are two possibilities to select an item in my application. The regular way being via mouse click (where the provided solution works great) and the second (also very common) way being by URL where through adviseNodeOpened the correct node is opened in the tree yet not highlighted (if I highlight it on load - of course it isn't updated after selecting another item via mouse again...)
Do you also have an idea for that (without rerending the whole table)? -
3. Re: highlight selection in rich:tree
nbelaevski Mar 6, 2009 10:16 AM (in response to stephanos)Hello,
Have you tried adviseNodeSelected? -
4. Re: highlight selection in rich:tree
stephanos Mar 6, 2009 11:02 AM (in response to stephanos)well thank you a lot!
This was easy :-)
Apparently I haven't understood the meaning of a few attributes. Now the rich:tree rocks *g*