I think its not the default behavior because its more likely that you use 
the history.newItem() method to actually navigate to a different place.

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 [email protected].
To post to this group, send email to [email protected].
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.


Reply via email to