RE: AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-27 Thread Warren Bell
Yes all my objects that need to be serialized are being serialized.

I put together a workaround. In the onClick() that closes the Modal
Window. I called AbstractAjaxTimerBehavior#stop() then waited for a
period longer than the Duration of the AbstractAjaxTimerBehavior and
then closed the Modal Window. This worked, but it is kinda clunky and I
could see cases where it wouldn't. I think what is happening is that the
AbstractAjaxTimerBehavior requests are conflicting with the closeing of
the Modal Window. I was looking for a way that would close the Modal
Window only after the last request/response was made from the
AbstractAjaxTimerBehavior.

Is there a way of finding out when the last AbstractAjaxTimerBehavior
response comes back from the server before closeing the Modal Window or
am I going down the wrong path here?

Warren

-Original Message-
From: Mathias Nilsson [mailto:wicket.program...@gmail.com] 
Sent: Thursday, August 27, 2009 12:18 PM
To: users@wicket.apache.org
Subject: Re: AbstractAjaxTimerBehavior on Modal Window causes
PageExpiredException


Does all your models and objects that you use in the wicket page
implement Serializable?
--
View this message in context:
http://www.nabble.com/AbstractAjaxTimerBehavior-on-Modal-Window-causes-P
ageExpiredException-tp25159539p25178263.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-27 Thread Mathias Nilsson

Does all your models and obejcts implement Serializable?
-- 
View this message in context: 
http://www.nabble.com/AbstractAjaxTimerBehavior-on-Modal-Window-causes-PageExpiredException-tp25159539p25178263.html
Sent from the Wicket - User mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-26 Thread Warren Bell
I am getting a PageExpiredException when I close a modal window that has
an AbstractAjaxTimerBehavior on it. What do I need to do to fix this?
 
Thanks


AbstractAjaxTimerBehavior on Modal Window causes PageExpiredException

2009-08-04 Thread Warren Bell
I am getting a PageExpiredException when I close a modal window with an
AbstractAjaxTimerBehavior on it. It does not seem to cause a problem,
but I would rather it not happen. I use the AbstractAjaxTimerBehavior to
auto close a modal window after a certain period of time if it is not
closed manually. I think the two ajax requests are conflicting with each
other, one to close the window and the other from the timer. Is there a
way to prevent this PageExpiredException from happening or is there a
better way to auto close a modal window?
 
Thanks,
 
Warren