Hi!
I need a tree structure that can render dynamically loaded data.
I tried richfaces' rich:tree and had a look at tomahawk's and tree2. I know that these two trees can dynamically display the nodes so that only the expanded nodes are send to the client. But after all the data needs to be loaded on the server at the beginning.
But what I need is that on expand of a node I can load the expanded data that needs to be displayed on the server at that time and not from the beginning.
The data I need to load needs too much time to be loaded by the server from the beginning. So I want it to be loaded when it needs to be displayed.
I got it working with rich:tree but it had side effects and didn't work as I needed it to ... The problem was that I don't know how I can get the information which node was expanded. I used [a4j:support event="onmousedown"] with a param to get this information but I think this had side effects too.
So, I hope you can help me with this one. I tried to get it to work for 3 days now
If anything is unclear just ask (I know that I explained it quite complicated ;) )
Greetz, Janina