Thursday, April 28, 2011

Re: Store RootPanel component state

Got the solution!

Just have to say
RootPanel.setVisible(element, boolean)


and voila it works!

Cheers,
Sayali

On Apr 28, 12:11 pm, Patssay <sayali...@gmail.com> wrote:
> Hi,
>
> Is it possible tostorethe currentcomponentspresent in the browser
> at a particular so that the same
> could be loaded later on. I am tryinng to do something like this
>
> RootPanelrp =RootPanel.get();
>
> //do some displays and after that display original
>
> RootPanel.get().clear();
>
> RootPanel.get().add(rp);
>
> is this even valid?
>
> Thanks
> Sayali

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment