You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Luca De Petrillo <lu...@websiteitalia.com> on 2004/05/28 09:55:23 UTC
Tree component and dynamic elements load/unload
Hi!
Ive a little question about the contrib:Tree component.
Ive an Hibernate-Spring-Tapestry application, and I want to use the
contrib:Tree to make a Tree list of people (each with parent-child
relations).
The problem is that the tree could be really huge (about 10000 people), and
load all the list one time, to built the tree, could be a pain.
There is a way to load (and release) tree element at runtime? (ie, catch the
node expand/collapse action, and load/unload the resources as needed).
Ive tried with the TreeStateListener, but every change on the tree model
isnt reflected in the tree component.
Next, I will try with the TreeStateManager, but from it I cant access
directly to the TreeDataModel to modify it.
Ive seen that in the Workbench, in the tree example, is the Node class that
load his child when requested, but what about the release?
Greetings!
Luca De Petrillo
<ma...@websiteitalia.com>
luca.depetrillo@websiteitalia.com