[Seaside] Redirecting to an error page etc., if an exception is
caught using WAListenerAdapter
philippe.marschall at gmail.com
Tue Oct 11 13:33:57 UTC 2011
2011/10/11 John Toohey <jt at parspro.com>:
> If I don't use that adapter then I cannot use Comet. I thought ST
> exceptions were raised before any stack unwind, so why has the stream
> been committed before the exception fires?
It streams. As soon as the body rendering starts the response header
gets committed and from there on the response is getting streamed as
it's being rendered.
> Is the only solution to let
> the browser hang, and have the user refresh?
Your can try to append the following:
Which may or may not work.
More information about the seaside