Hi, wondering if there is any way to directly get and manipulate the Panel underlying one specific Tab of of TabPanel, so the panel that holds the Widget of one Tab?! I know that I can't access the DeckPanel directly, but maybe there is another way to get the container-Panel?!
I'm currently changing a projects architecture to MVP as described in the article: http://code.google.com/intl/de/webtoolkit/articles/mvp-architecture.html In subsection http://code.google.com/intl/de/webtoolkit/articles/mvp-architecture.html#history one can see how easy it is to Implement History-Handling throughout MVP-Based applications. Now I want to stick to this as close as possible, but haven't found a way yet to do something like: [Code] public class AppController implements ValueChangeHandler<String> { ... public void onValueChange(ValueChangeEvent<String> event) { String token = event.getValue(); if (token != null) { Presenter presenter = null; if (token.equals("list")) { presenter = new ContactsPresenter(rpcService, eventBus, new ContactView()); } else if (token.equals("add")) { presenter = new EditContactPresenter(rpcService, eventBus, new EditContactView()); } else if (token.equals("edit")) { presenter = new EditContactPresenter(rpcService, eventBus, new EditContactView()); } if (presenter != null) { presenter.go(container); } } } [/Code] where the "container" actually is the DeckPanel in a TabPanel. So is there any other possibility of setting a MVP-Presenters ViewContainer to be a TabPanel-Widget?! -- 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.
