you need to be able to know not just the label but the full path. then
use your TreeModel impl to locate the node...
-igor
On Fri, Mar 21, 2008 at 1:24 AM, bhitai <[EMAIL PROTECTED]> wrote:
>
> Hi
> I'm kinda new to Apache wicket. I have a LinkTree on a page on which I also
> have other Ajax enabled components (basically 5,6 links on the page). When
> my other component is clicked, I want to locate the node in the tree and
> expand it, to show the user's selection. I know tree.getTreeState() will
> allow me to expand a particular tree node, but I can't seem to find a way to
> locate the treeNode inside the tree in the first place. I have the label of
> the node coming back in the Ajax model, and I'm wondering if I can navigate
> to that particular node (all names are unique in this scenario) using the
> label string to search in the tree.
>
> thanks in advance,
> jaffry
>
> --
> View this message in context:
> http://www.nabble.com/AjaxTree-%3A-how-to-locate-a-node-based-on-its-label-tp16194936p16194936.html
> 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]