Hi, For example, if you'd like to do something on the right side when you click on an item of the tree, you should do this: You create a widget which extends HorizontalSplitPanel and implements the SelectionHandler interface. You override the onSelection(SelectionEvent<i> event) method of the SelectionHandler interface. You handle the event in this method. In addition, you have to add a this panel as a SelectionHandler to your Tree with the addSelectionHandler(SelectionHandler<I> handler) method (which is declared in the HasSelectionHandlers interface which is implemented by GWT's Tree widget, so the method is already implemented and you can use it).
I recommend you this page: http://code.google.com/p/gwt-examples/ I figured out the new event handling from the example of this site. Cheers! 2009/9/14 PJ <pedrojavieror...@gmail.com> > Second, I put the Tree in the left side of the HorizontalSplitPanel, > and I need it to control the content of the right side, how do i do > that? > > > Thank you, and sorry if this is a stupid question, I'm just new to > GWT. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en -~----------~----~----~----~------~----~------~--~---