Hi again,
thanks for your fast reply. Your Tip was very useful, even though the
mentionend method was not available for me as i didn't switch to 1.6
yet.
Nonetheless, i understood the technique and implemented it with
onTabSelected.

Thanks a lot
George

On 14 Mai, 16:06, Salvador Diaz <[email protected]> wrote:
> > How can this be achieved?
>
> Not difficult, just keep a reference to your widget somewhere, make it
> implement a reset() method and have a SelectionHandler call that
> method when the tab is selected. Here's an example of that exact same
> thing:http://code.google.com/p/hellagwt/source/browse/trunk/hellagwt/src/ma...
>
> Take a look at lines 69 - 87, that's the selection handler calling
> reset (or some equivalent method) on the widgets contained by the
> tabPanel
>
> Hope that helps,
>
> Salvador
>
> On 14 mai, 14:33, George <[email protected]> wrote:
>
> > Hi,
> > I have the following problem: I start a widget by clicking a tab on a
> > tabpanel, i.e.:
>
> > tabPan.add(new UserInfoWidget(), "Settings");
>
> > After some interaction with this widget (UserInfoWidget()), i switch
> > to another tab. When I come back now to the "Settings" panel i want it
> > to be resetted and not showing the state as i left it.
> > How can this be achieved?
>
> > Any help is appreciated. Thanks.
> > George
>
>
--~--~---------~--~----~------------~-------~--~----~
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