cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasha Joachimsthal" <j.joachimst...@onehippo.com>
Subject RE: Send status code with error handler
Date Fri, 17 Oct 2008 13:45:26 GMT
Strange, just tried it in Cocoon 2.2 with that class but it returned a 500 for me.

At the bottom of my sitemap:
<map:pipeline>
	<map:handle-errors when="always">
	  <map:generate src="sitemap.xmap"/>
	  <map:serialize type="html" status-code="500"/>
	  </map:handle-errors>
	</map:pipeline> 


Jasha Joachimsthal 
 
j.joachimsthal@onehippo.com - jasha@apache.org
 
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



> -----Original Message-----
> From: Kjetil Kjernsmo [mailto:Kjetil.Kjernsmo@computas.com] 
> Sent: vrijdag 17 oktober 2008 13:59
> To: users@cocoon.apache.org
> Subject: Re: Send status code with error handler
> 
> On Friday 17 October 2008 12:58:03 Jasha Joachimsthal wrote:
> > 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?
> 
> It is org.apache.cocoon.serialization.HTMLSerializer, and 
> this is Cocoon 2.2.0.
>     
> 
> 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
> 
> 

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


Mime
View raw message