Hi,

We are experiencing odd behaviour when a page has

- a region, which is constantly updated by AjaxSelfUpdatingTimerBehavior (say 
each 3 seconds)
- form with buttons

When the page is initially loaded, timer starts updating values as expected.
When a button on form is pressed, page is versioned to version 1.
When timer updates it's region next time, it seems to request page version 0,
which causes following stuff being output to log file:

[http-80-Processor25] DEBUG Getting page [path = 0:ajaxSpan, versionNumber = 0]
[http-80-Processor25] DEBUG Getting page [path = 0:ajaxSpan, versionNumber = 0]
[http-80-Processor25] DEBUG UNDO: rollback [Page class = 
syncrontech.examples.testing.AjaxTestPage, id = 0] to version 1
[http-80-Processor25] DEBUG UNDO: rollback [Page class = 
syncrontech.examples.testing.AjaxTestPage, id = 0] to version 1

The timer and ajax continues to function, but when user presses
a button (or link) it refers to page version 1 (as expected) but as this 
version was
just discarded from page map user gets a 'page expired' message.

No matter what version the page has reached, the ajax call seems to reset it to 
zero.

I have a simple example code of the case, if someone needs it.

   Ari S.



-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to