Well, actually, I'm not sure how this would work, as you'd have to
load the children asynchronously and then update the tree. That
certainly isn't a trivial thing. I guess it would be better to replace
the link with an indicatingajaxlink or something like that.

-Matej

On 9/21/07, swaroop belur <[EMAIL PROTECTED]> wrote:
>
>
> 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]
>
>

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

Reply via email to