Re: Web Browser's history not saving last urls
Thanks, that works!!
On 23 nov, 15:11, Thomas Broyer <t.bro...@gmail.com> wrote:
> On 23 nov, 14:11, "Pablo G.F" <blay...@gmail.com> wrote:
>
> > Hello:
>
> > I have a GWT application where I call some
> > "redirects" (Window.Location.replace(url)). That URL is captured by a
> > servlet and it passes the control to a Controlles (via Spring). That
> > redirects are made when some widgets of my app are clicked. I´ve added
> > a listener and it captures the event, then the handler associated
> > just invoke the Window.Location.replace.
> > The problem is that clicking on the "Previous" button of the web
> > browser doesn´t redirect to the inmediate last url; instead, it
> > redirects to the last Url visited before starting the application.
>
> > Any idea?
>
> Window.Location.replace() replaces the last entry in the browser's
> history. If you want to "go to" another URL without replacing the
> history entry, then use Window.Location.assign().
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home