Thank you. But now the problem is when I click on logout, the browser
shows me a white page :-(


On 11 Feb, 17:53, John LaBanca <[email protected]> wrote:
> In onModuleLoad, special case the logout token.  Replace:
> History.fireCurrentHistoryState();
>
> with:
> if (!"logout".equals(History.getToken())) {
>   History.fireCurrentHistoryState();
>
> }
>
> Thanks,
> John LaBanca
> [email protected]
>
> On Fri, Feb 11, 2011 at 11:36 AM, daniela iervolino <[email protected]
>
>
>
>
>
>
>
> > wrote:
> > Hi everybody,
> > I'm trying to implement a simple logout reloading the page.
> > The logout is an hyperlink, so I'm dealing with History.
> > If the token is "logout", I want to reload my page...
> > The problem is that the reloading goes on "forever" until I stop the
> > application.
> > Does anyone know how I can force only one reloading?
> > Thanks
>
> > --
> > 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.

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