Thanks for your replies. It is just the choice of 'deck panel' seems to be wrong.
On Jul 1, 10:51 pm, kozura <[EMAIL PROTECTED]> wrote: > The intent of the Deck panel is to show exactly one of its children, > so showWidget makes one visible and hides the rest. For instance it's > used in tab panels to show one panel based on the tab selected. If > you're looking to show more than one, then you simply need to use a > different panel, and manipulate the children visibility with their > Widget.setVisible(boolean) methods; no need to use DOM functions. > > On Jul 1, 6:48 am, Dhandapani <[EMAIL PROTECTED]> wrote: > > > Hi > > > I try to implement a scenario where I have three panels displayed > > initially. > > > Then, > > 1. On clicking the first panel I need to show the third and hide the > > second > > 2. On clicking the second panel I need to show the first and hide and > > third > > 3. On clicking the third panel I need to show the second and hide the > > first > > > I dont find a supporting hideWidget() method while there is a > > showWidget(int index) method. > > > How do i achieve hiding a particular panel? Is the only way - retrieve > > all the indices and compare it with that of currently shown? When I > > have not assigned an ElementId for the panels i have created, is it > > possible to achieve this through DOM.getElement().<something>? > > > You help is appreciated. > > Thanks, > > Dhandapani. > > > Why there isn't a hideWidget() method in DeckPanel? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
