Do you mean how to find what Tree item has been selected?  You don't
need to do anything with Hyperlinks and ClickListeners, instead use
the TreeListener interface, which has 2 methods including
onTreeItemSelected(TreeItem item).

treeOrganizacion.addTreeListener(this);

You can even add an arbitrary "user" object to a tree item if it helps
determine information about what was clicked.  Hyperlinks are more
intended to traverse internal states of your application, and require
you to properly implement History infrastructure.  If you're just
trying to do different things based on a user clicking on items in the
tree, then use the TreeListener.

jk


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to