Tuesday, January 4, 2011

odd behavior in browser history mechanism when using this navigation pattern !!

I am noticing an odd behaviour when navigating around my mini-app
which uses GWT MVP.

I am not sure if this is the way browser history mechanism works or
that I am dealing with a bug.

when I navigate from place A to B to C to D,
with each hit on Back Button, I correctly go back
from Place D to C to B to A. good so far !


however, when I try to navigate in the pattern below, browser history
doesn't act as expected.

starting from A
step 1: A --> B
step2: B--->C
step3: B<---C
step4:B--->D

(going from place A to B , then from B to C, now at place C hit back
button to go to Place B,
now at Place B I navigate to Place D)

so I am now at place D.

when I hit back Button from D,
I go to B and then A, never going to place C !

I am very confused don't know if this is the default way history
mechanism work in browsers or that I am dealing with a nasty bug.

I really appreciate if you can confirm the expected browser history
behaviour when navigating in the pattern I described. it is very
confusing, please Help !

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


Real Estate