Hi Guys

One of the major problems with the game are that if you click a box(AjaxEventBehavior) while the heartbeat(AbstractAjaxTimerBehavior) are in process you will get an error, since the box's component has changed and no longer carries that behavior. I've tried to solve this by adding a transparent veil to the page once the heartbeat processes, it's simply not good enough, it's still possible to get errors. So how do I solve this?

I have one idea but im not liking it, all box's could have behaviors even if you wont get an score, that way we will not get an error.


This is a potential pitfall if you ever will have two Ajax components that can remove the ones behavior, if the user clicks the other while loading then it's gonna complain. On the other hand im not sure what wicket can do besides throw a runtime exception.

--
-Wicket for love

Nino Martinez Wael
Java Specialist @ Jayway DK
http://www.jayway.dk
+45 2936 7684


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to