Tree component in a portlet

If I understand it correctly, I should be able to use the getSelected() method to get the ID of a node in a portlet, when I set the Immediate property of the Tree to TRUE. But it doesn't work!

Should it work? If not, is there any way, how to achieve correct behaviour of the getSelected() method? Some listener maybe?

I am starting to HATE portlets... I will definitely discourage everybody from using portlets in our future projects. There's been to much of "portlets can't do that, sorry" issues already.

[530 byte] By [Martin777a] at [2007-11-26 21:05:46]
# 1
I've bound the selected property to a field in a SessionBean. The getter and setter in the SessionBean are not being called. The getSelected() just returns null everytime.
Martin777a at 2007-7-10 2:39:38 > top of Java-index,Development Tools,Java Tools...