> -----Original Message----- > From: Kjetil Kjernsmo [mailto:[EMAIL PROTECTED] > Sent: vrijdag 17 oktober 2008 12:19 > To: [email protected] > Subject: Re: Send status code with error handler > > 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?
Strange, we've been using this for a long time. Can you see in map:components which class the html serializer is. Which Cocoon version are you using? Jasha Joachimsthal [EMAIL PROTECTED] - [EMAIL PROTECTED] www.onehippo.com Amsterdam - Hippo B.V. Oosteinde 11 1017 WT Amsterdam +31(0)20-5224466 San Francisco - Hippo USA Inc. 101 H Street, suite Q Petaluma CA 94952-3329 +1 (707) 773-4646 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
