The problem is always the same: it shows me a blank page.
I applied the modification of John and then I call the method
reload(), but the token remains "#logout" and the page isn't really
reloaded..

On 11 Feb, 21:31, Giuseppe La Scaleia <giuseppe.lascal...@geosdi.org>
wrote:
> Hi you can try with this method:
>
> public native void reload()/*-{
>         $wnd.window.location.reload();
>     }-*/;
>
> Regards Giuseppe
>
> 2011/2/11 daniela iervolino <daniela.ie...@gmail.com>
>
>
>
>
>
>
>
>
>
> > 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 <jlaba...@google.com> wrote:
> > > In onModuleLoad, special case the logout token.  Replace:
> > > History.fireCurrentHistoryState();
>
> > > with:
> > > if (!"logout".equals(History.getToken())) {
> > >   History.fireCurrentHistoryState();
>
> > > }
>
> > > Thanks,
> > > John LaBanca
> > > jlaba...@google.com
>
> > > On Fri, Feb 11, 2011 at 11:36 AM, daniela iervolino <
> > daniela.ie...@gmail.com
>
> > > > 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
> > google-web-toolkit@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > google-web-toolkit+unsubscr...@googlegroups.com.
> > > > 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 google-web-toolkit@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-toolkit+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> Giuseppe La Scaleia
> CNR - IMAA
> geoSDI
> Sviluppo Software
>
> C.da S. Loja
> 85050  Tito Scalo - POTENZA (PZ)
> Italia
>
> phone:  +39 0971427305
> fax:      +39 0971 427271
> mob:    +39 3804697436
> mail:     giuseppe.lascal...@geosdi.org
> skype:  glascaleia
>
> web:    http://www.geosdi.org

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to