[ZOPE] newbie q: standard_error_message

Dylan Reinhardt zope@dylanreinhardt.com
Mon, 10 Feb 2003 12:29:18 -0800


At 11:10 AM 2/10/2003, Sungmook Kim wrote:
>my standard_error_message page looks roughly like
>this:
>
><dtml-my_header>
>the one example shown in the how-to.
><dtml-my_footer>

You've got a mixture of two different DTML syntaxes going on there.

You can express a call to my_method as  <dtml-var my_method> or 
&dtml-my_method; but what you have above won't work.  Note that this is a 
DTML syntax issue and really has nothing to do with error messages or headers.

Try:

<dtml-var my_header>
    Page contents, etc.
<dtml-var my_footer>


If that doesn't do the trick, it would help to know more about your setup, 
what you're trying and exactly what results (or errors) you're getting.

HTH,

Dylan