Re: Adding ClassStringResourceLoader(s)

2008-08-20 Thread Andre van der Schyff
I agree the StringResourceLoaders should not be cleared, or at least not automatically cleared behind the scenes. I don't see why anyone would not want the ComponentStringResourceLoader just because they added some application specific resource loaders. On Tue, Aug 19, 2008 at 11:20 PM,

Prevent navigation to other pages on unsaved data

2008-07-04 Thread Andre van der Schyff
We're having trouble implementing a page that prevents the user from navigating away after data has changed on the page without saving. To do this, we've extended WebRequestCycle with the following: public class CustomRequestCycle extends WebRequestCycle { protected void onBeginRequest() {

show modal window for exception

2008-06-10 Thread Andre van der Schyff
I'm trying to handle an exception by showing a Modal window instead of redirecting to an error page. Does anyone know how to do this? We've looked at RequestCycle.onErrorPage, but that also requires a page to redirect to. Thanks, Andre