Actually when your whole app uses history tokens, then "clicking on the tab title" would not cause the tab panel to switch tabs itself but it would cause a history.newItem() and because of that new history token the tab will be selected later on in your ValueChangeHandler.
You could achieve this by adding a BeforeSelectionHandler to your tab panel. Inside the handler you can cancel the tab switch (event.cancel()) and create a new History item instead. Then the history mechanism you have implemented will do the tab selection everytime someone clicked a tab.
-- J.
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment