Initially when building the tree , just add a single child node to each 
first level of nodes u show
You can mark this node as a "indicator node" or a "busy node" - this will
allow the + sign to come
up for the actual node. When u click on the + sign , representing the actual
node , just
remove the busy/ indicator node after all the actual children have been
added ...(also just check if the indicator  node is the only child - this
way u will avoid another database hit for the second open click
for the same node.)





pixotec wrote:
> 
> I want to use LinkTree to represent a very very large hierarchy (the
> loading of the whole thing is expensive...).
> Is there an AJAX way of loading the children of a node just when clicking
> on the "plus-icon" for expanding?
> 
> 

-- 
View this message in context: 
http://www.nabble.com/LinkTree-lazy-loading-possible--tf4493231.html#a12814930
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to