its probably because your ajax urls are creating new versions of pages - and when you submit the form it unrolls the page version. why cant you use the self updating behavior? if you dont - which is fine - you have to construct the url exactly like it does - those urls do not construct/nor rollback any versions.

-Igor


On 8/17/06, Nili Adoram <[EMAIL PROTECTED]> wrote:
Hi all,
I have a submit button that sets response page to some other page after
form is submitted (I override Form.delegateSubmit).
In addition there is an AJAX link in that page that refreshes some
components in the page every 5 seconds.
Since we cannot disable AjaxSelfUpdatingTimerBehavior we used our own
_javascript_ for re-invoking AJAX every 5 seconds.
When DefaultRequestTargetResolverStrategy.resolveRenderedPage handles
repeating AJAX request it cannot find any page
so it defaults to ExpiredPageClassRequestTarget.
This causes no problem when an AJAX requests is handled.
However, if I submit the form and an AJAX request is handled
simultaneously this causes the expired page to be rendered instead of
the target page.

Please advise,
Thanks,
Nili


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

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