Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How can I clear the browser window

    This may be a silly question, but I can't think of anything atm.

    I have a log off option, and after the session is destroyed on the server I'd like to erase everything on the user screen (including windows and other components), hopefully releasing the memory and write some message there.

    I thought of calling RootPanel.get().clear() but doesn't seem to work with smartgwt Window.

    Is there a container class for the browser window that I can access?

    Thank you!

    #2
    Actually this is indeed very easy to do.

    Just call RootPanel.getBodyElement().setInnerHTML

    Comment

    Working...
    X