Re: setPageRefreshOnBacktrackEnabled problem?

Ondřej Čada <[email protected]> Fri, 27 Apr 2012 04:07:52 +0200
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
A propos ...

On Apr 27, 2012, at 3:57 AM, Ond=C5=99ej =C4=8Cada wrote:

> =3D=3D=3D ... shows correct OK:Foo1 | 'back' browser button tapped =
(nothing in log at all) ... =3D=3D=3D
> =3D=3D=3D ... shows foo selection | foo2 selection clicked ... =3D=3D=3D=

> -- WILL dispatch null
> //// app-pre 3: 0
> //// sess-pre 3: 0
> //// comp-pre 3: 0 LAST 2 known true, CM aaa
> //// comp-post 3: 3, CM aaa
> //// sess-post 3: 0
> //// app-post 3: 0
> -- DID dispatch null
> -- WILL dispatch null
> -- DID dispatch null
> =3D=3D=3D ... shows still OK:Foo1 =3D=3D=3D

... here's what happens if, instead of the 'back' button, I use the =
'select foo' link (whose action just nulls session.foo):

=3D=3D=3D ... correct OK:Foo1 shown | 'select foo' link clicked ... =3D=3D=
=3D
-- WILL dispatch null
//// app-pre 5: 4
//// sess-pre 5: 4
//// comp-pre 5: 4 LAST null known false, CM null
//// comp-post 5: 5, CM null
//// sess-post 5: 4
//// app-post 5: 4
-- DID dispatch null
-- WILL dispatch null
-- DID dispatch null
=3D=3D=3D ... shows foo selection | foo2 selection clicked ... =3D=3D=3D
-- WILL dispatch null
//// app-pre 6: 5
//// sess-pre 6: 5
//// comp-pre 6: 5 LAST 5 known true, CM bbb     // proper foo2.title
//// comp-post 6: 6, CM bbb
//// sess-post 6: 5
//// app-post 6: 5
-- DID dispatch null
-- WILL dispatch null
-- DID dispatch null

If in this state I again use the back button, nothing in log and foo =
selection shown again. If I select "foo1" (whose title is 'aaa'), I see =
again the wrong previous one:

-- WILL dispatch null
//// app-pre 7: 5
//// sess-pre 7: 5
//// comp-pre 7: 5 LAST 6 known true, CM bbb
//// comp-post 7: 7, CM bbb
//// sess-post 7: 5
//// app-post 7: 5
-- DID dispatch null
-- WILL dispatch null
-- DID dispatch null

can be repeated consistently any number of times.

Thanks and all the best,
---
Ondra =C4=8Cada
OCSoftware:     [email protected]               http://www.ocs.cz
private         [email protected]             http://www.ocs.cz/oc