[Zope-dev] xml-rpc/soap errors

Adrian Hungate adrian@haqa.co.uk
Tue, 28 Aug 2001 19:41:37 +0100


On that point, can someone tell me why/when the standard_html_error is
rendered, and why/when an internal, seemingly un-editable, template is
rendered.

I would prefer if the standard one was always rendered, except if there
is a syntax error in the standard one I guess, but couldn't that send a
very simplified 500 error/page to the browser?

Adrian...

-----Original Message-----
From: Andy McKay [mailto:andym@ActiveState.com]
Sent: 28 August 2001 17:17
To: Chris Withers
Cc: zope-dev@zope.org
Subject: Re: [Zope-dev] xml-rpc/soap errors


After a bit of research ive found its suprisingly simple to do in dtml
(ugh):

<dtml-if "REQUEST.get('CONTENT_TYPE', '') == 'text/xml'">
  xml-rpc / soap etc
<dtml-else>
  html
</dtml-if>


Cheers.
--
  Andy McKay.


----- Original Message -----
From: "Andy" <andy@agmweb.ca>
To: "Chris Withers" <chrisw@nipltd.com>
Cc: <zope-dev@zope.org>
Sent: Tuesday, August 28, 2001 7:36 AM
Subject: Re: [Zope-dev] xml-rpc/soap errors


> > make standard_error_message a python script which only renders a
template
> in a
> > given set of circumstances?
>
> Hmm still the same solution, but probably the only one I have.
> --
>   Andy McKay
>
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope )
>


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )