Re: I'm new to GWT and I have some questions...
Hey, I changed the HorizontalSplitPanel, now I have 2 vertical panels, but I need the right one to show an external web page, how I do that? ah, and I still need the Style for the tree... help please!!! --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: I'm new to GWT and I have some questions...
Any advices about the styles? --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---
Re: I'm new to GWT and I have some questions...
Thank you for the page!!! and I'll try that method, thank you... On Sep 14, 5:30 am, Tamás Gömbös wrote: > 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 > 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 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 > > > > > 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 -~--~~~~--~~--~--~---
Re: I'm new to GWT and I have some questions...
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 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 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 > 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 -~--~~~~--~~--~--~---
I'm new to GWT and I have some questions...
I know I should check the list of resources before posting some questions, but I did it and I need some simple explanations that are not explicit in the resources... First I have some problems with both the "Tree" and the "HorizontalSplitPanel" styles. I want the splitter and the backgroud of a selected tree item to be green. So I'm using: .gwt-Tree .gwt-TreeItem-selected { background: #008000; } and .gwt-HorizontalSplitPanel .hsplitter { cursor: move; border: 0px; background: #008000; } I know I'm making a mistake in the backgroud part because the examples use an image in the background like this: .gwt-Tree .gwt-TreeItem-selected { background: #93c2f1 url(images/hborder.png) repeat-x 0px -1463px; } and .gwt-HorizontalSplitPanel .hsplitter { cursor: move; border: 0px; background: #91c0ef url(images/vborder.png) repeat-y; } So, how do I make it green? how do I make the image? 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 -~--~~~~--~~--~--~---