Re: Error page factory

2007-03-28 Thread Eelco Hillenius
r we have that method in webapplication for >> people to override, just like newSessionStore. >> >> my 2c, >> >> Eelco >> >> >> On 3/24/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: >>> >>> >>> I posted this i

Re: Error page factory

2007-03-24 Thread Igor Vaynberg
i think it would be useful to be able to register a page for an exception class. that way you can show specific error pages for specific errors you have defined in your app, and because we would do an instanceof check when iterating over registrations you can use the hierarchy of the exception cla

Re: Error page factory

2007-03-24 Thread Jean-Baptiste Quenot
* Eelco Hillenius: > There's a couple of things I'm not crazy about. > > First of all, I'd much prefer just having factory method for > exceptions, so that clients can choose themselves what are > interesting exceptions and how to deal with that. That's way > more flexible, as new c

Re: Error page factory

2007-03-24 Thread Jonathan Locke
24/07, Jonathan Locke <[EMAIL PROTECTED]> wrote: >> >> >> I posted this in response to a question on wicket-user and realized >> this morning that I need to cross post this to wicket-dev since most >> of it is about an RFE. >> >> --- >>

Re: Error page factory

2007-03-24 Thread Eelco Hillenius
onse to a question on wicket-user and realized this morning that I need to cross post this to wicket-dev since most of it is about an RFE. --- Perhaps in some near-future version, we can have an error page factory. I think that would be good because then you don't need to get involved in the

Error page factory

2007-03-24 Thread Jonathan Locke
I posted this in response to a question on wicket-user and realized this morning that I need to cross post this to wicket-dev since most of it is about an RFE. --- Perhaps in some near-future version, we can have an error page factory. I think that would be good because then you don't