We have an ajax intensive project for which we need to better handle
problems such as session timeouts.
Most of our ajax event handlers will return a MultizoneUpdate, and
currently will run into a NullPointerException if the session has timed out.
Instead what I'd like these listeners to do is either forward to an
error page (ie session timed out page) or attempt to reload the current
page.
I'd also prefer to not have to implement this for every listener, but
utilise 'onActivate' so that I don't need to copy and paste code into
every event listener.
Does anyone have any tips for achieving this?
p.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org