Maybe you could use IAjaxCallDecorator, e.g.
public class MyCallDecorator implements IAjaxCallDecorator {
....
public CharSequence decorateOnFailureScript(CharSequence script) {
return script + ";alert('Server down!');" + "JavaScript to relaunch AJAX";
}
}
Ernesto
On Sun, Oct 4, 2009 at 12:10 PM, Martin Makundi <
[email protected]> wrote:
> Hi!
>
> If we build an ajax GUI, we would like to detect "network problems"
> and give graceful errors and maybe retry (like gmail tries to do).
>
> How would it be possible to detect and set these network timeout
> limits with wicket, and probably allow invoking "retry" ('automatic'
> retry after notifying the user)?
>
> **
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>