RE: [C2] blank pages ????

2001-09-12 Thread Vadim Gritsenko

Define error-handler type=404/ in your pipelines/
(in addition to error-handler/)

Regards,
Vadim

 -Original Message-
 From: Jeremy Quinn [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 12, 2001 12:58 PM
 To: Cocoon Users
 Subject: [C2] blank pages 
 
 
 Dear All,
 
 I seem to get blank pages when there is something wrong with the URL I use.
 
 What is causing this?
 
 How do I stop it?
 
 
 
 Thanks for any help
 
 regards Jeremy
 -- 
___
 
Jeremy Quinn   Karma Divers
webSpace Design
 HyperMedia Research Centre
 
mailto:[EMAIL PROTECTED]  http://www.media.demon.co.uk
 phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED]
 
 -
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [C2] blank pages ????

2001-09-12 Thread Jeremy Quinn

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:[EMAIL PROTECTED]http://www.media.demon.co.uk
phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [C2] blank pages ????

2001-09-12 Thread Vadim Gritsenko

Sorry, yes, I meant map:handle-errors/,
but please use 404 (not 401).

Empty page (with status 404 in response) is returned when this handler is not
found (done in CocoonServlet.java).

Vadim

 -Original Message-
 From: Jeremy Quinn [mailto:[EMAIL PROTECTED]]
 Sent: Wednesday, September 12, 2001 2:51 PM
 To: [EMAIL PROTECTED]
 Subject: RE: [C2] blank pages 
 
 
 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:[EMAIL PROTECTED]  http://www.media.demon.co.uk
 phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED]
 
 -
 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: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [C2] blank pages ????

2001-09-12 Thread Jeremy Quinn

At 3:04 PM -0400 12/9/01, Vadim Gritsenko wrote:
Sorry, yes, I meant map:handle-errors/,
but please use 404 (not 401).

Ha ;)

Empty page (with status 404 in response) is returned when this handler is not
found (done in CocoonServlet.java).

Thanks

regards Jeremy
-- 
   ___

   Jeremy Quinn   Karma Divers
   webSpace Design
HyperMedia Research Centre

   mailto:[EMAIL PROTECTED]http://www.media.demon.co.uk
phone:+44.[0].20.7737.6831pager:[EMAIL PROTECTED]

-
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]