cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Quinn <jer...@media.demon.co.uk>
Subject RE: [C2] blank pages ????
Date Wed, 12 Sep 2001 18:51:20 GMT
At 1:19 PM -0400 12/9/01, Vadim Gritsenko wrote:
>
>Define <error-handler type="404"/> in your <pipelines/>
>(in addition to <error-handler/>)


The tag <error-handler/> is not in the sitemap logicsheet, sitemap.xsl.
Do you mean something like this?

	<map:pipeline>

		<map:match pattern="blah">
			.......
		</map:match>

		<map:handle-errors type="401">
			<map:transform src="stylesheets/error-401.xsl">
			<map:serialize/>
		</map:handle-errors>

		<map:handle-errors>
			<map:transform src="stylesheets/error.xsl">
			<map:serialize status-code="500"/>
		</map:handle-errors>

	</map:pipeline>

Thanks

regards Jeremy
-- 
   ___________________________________________________________________

   Jeremy Quinn                                           Karma Divers
                                                       webSpace Design
                                            HyperMedia Research Centre

   <mailto:sharkbait@mac.com>     		 <http://www.media.demon.co.uk>
    <phone:+44.[0].20.7737.6831>        <pager:jermq@sms.genie.co.uk>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Mime
View raw message