Re: [Webware-devel] Custom error pages

2007-03-25 Thread Christoph Zwerschke
I have now implemented and documented it that way in the trunk. If ErrorPage is set to None or does not contain the raised exception, or if the response has already been commited, then it behaves as before. -- Chris - Take

Re: [Webware-devel] Custom error pages

2007-03-25 Thread Christoph Zwerschke
Chuck Esterbrook wrote: > I just hope Webware is uber stable when we call it 1.0. Right, actually I did not want to make larger changes before 1.0. But in this case, I had to make bigger changes in the mechanisms for forwarding and catching errors anyway, in order to fix the problems reported by

Re: [Webware-devel] Custom error pages

2007-03-25 Thread Christoph Zwerschke
Jean-François Piéronne wrote: > Very good idea, allowing declaration of a default error page will be > very useful. > May be it would be also interesting to allow the declaration of > HPPTErrorPage for application raised exceptions. For example: > > HTTPErrorPage = { > 'NotFound': '/

Re: [Webware-devel] Custom error pages

2007-03-25 Thread Jean-François Piéronne
Christoph Zwerschke wrote: [snip] > > Let me know whether you think this all makes sense before I will check > it in ;-) > Very good idea, allowing declaration of a default error page will be very useful. May be it would be also interesting to allow the declaration of HPPTErrorPage for applicat

Re: [Webware-devel] Custom error pages

2007-03-24 Thread Chuck Esterbrook
On 3/24/07, Christoph Zwerschke <[EMAIL PROTECTED]> wrote: > One thing I always disliked about Webware is the static 404 error page. ... Your proposal sounds good to me. I just hope Webware is uber stable when we call it 1.0. G'night, -Chuck -

[Webware-devel] Custom error pages

2007-03-24 Thread Christoph Zwerschke
One thing I always disliked about Webware is the static 404 error page. First, the name '404Text.txt' is hard coded and misleading because it is a complete HTML page (maybe it has only been the body part in older versions, as it is still wrongly documented), so it should better be called someth