Hi Tercio,

thanks for the quick reply. Is it possible that i can get it from DOM
or from javascript native code.

On Jan 7, 6:19 pm, Tercio <[email protected]> wrote:
> You can't.
>
> What you can is handle history changes, that occurs when user push
> back and forward in the browser, but only works for links in the same
> page(#anchor).
>
> public class Dummy implements ValueChangeHandler<String>
> {
>         public Dummy()
>         {
>                 // Register ourselves with the History API.
>                 History.addValueChangeHandler(this);
>         }
>
>         public void onValueChange(ValueChangeEvent<String> event)
>         {
>                 // User has clicked back or forward, the event parameter has 
> the
> value itself.
>         }
>
> }
>
> Regards,
>
> On Jan 7, 10:34 am, Anita <[email protected]> wrote:
>
> > Hi,
>
> > How can I detect on GWT client side that browser's back or forward
> > button is clicked? Because on click of back and forward button i want
> > to perform custom operation.
>
> > Thank You.
-- 
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