This could work:

tp = new TabPanel();
tp.addSelectionHandler(new SelectionHandler<Integer>() {

        public void onSelection(SelectionEvent<Integer> event) {
                int tabId = event.getSelectedItem();
                Widget tabWidget = getWidget(tabId);
                if (tabWidget !=  null) {
                  // do something
                }
        }
});


On 27 Jul., 06:29, Joey <[email protected]> wrote:
> How can I refresh TabPanel when particular tab is selected?
>
> Because there is no setWidget() method in TabPanel....

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to