Re: [wicket 1.5] Ajax recovery script

2011-02-08 Thread nino martinez wael
Ahh good idea and also a bit concrete :) 2011/2/7 Pedro Santos pedros...@gmail.com It possible to test if there in an AJAX activity by testing the Wicket.Channel busy property. Those channels can be iterated on Wicket.channelManager.channels If I got it right, than an JavaScript function

[wicket 1.5] Ajax recovery script

2011-02-07 Thread nino martinez wael
Hi Does anybody have a java script which does the following modification to wicket's ajax: If the server are to long to respond, the script automatically invokes fallback to the baseurl for the page? I guess you could also have some reverse heartbeat technique, that would update a timer, and

Re: [wicket 1.5] Ajax recovery script

2011-02-07 Thread Pedro Santos
It possible to test if there in an AJAX activity by testing the Wicket.Channel busy property. Those channels can be iterated on Wicket.channelManager.channels If I got it right, than an JavaScript function can live testing this property and, when an timeout was detected, invokes some callback