cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kjetil Kjernsmo <Kjetil.Kjern...@computas.com>
Subject Re: Send status code with error handler
Date Fri, 17 Oct 2008 10:18:55 GMT
On Friday 17 October 2008 11:50:36 Jasha Joachimsthal wrote:
> > This works great, except for one thing: I still want to send
> > the 500 HTTP code, even though the user gets a pretty page.
> > I've tried to set the status-code attribute on both
> > map:serialize elements, but it doesn't work.
> >
> > How is this supposed to work?
>
> <map:serialize type="html" status-code="500" />

As I said, I tried that first, and it didn't work. 

Any other ideas?


Kind regards 

Kjetil Kjernsmo
-- 
Senior Knowledge Engineer
Mobile: +47 986 48 234
Email: kjetil.kjernsmo@computas.com   
Web: http://www.computas.com/

|  SHARE YOUR KNOWLEDGE  |

Computas AS  PO Box 482, N-1327 Lysaker | Phone:+47 6783 1000 | Fax:+47 6783 
1001


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message