[Zope-CMF] standard_error_message must be DTML?!
Dieter Maurer
dieter@handshake.de
Sat, 15 Sep 2001 20:19:06 +0200 (CEST)
Chris Withers writes:
> > Chris Withers writes:
> > > I created a wonderful(;-)) standard_error_message PageTemplate
> (attached) and
> > > put it in my skin.
> > >
> > > It was never used.
> > The "REQUEST" variable in ZPT is spelled "request"...
>
> Funny... I'm sure I've used it elsewhere spelled as here/REQUEST or
> container/REQUEST...
You can use it this way. You acquire "REQUEST" in this case from
the respective objects.
> Also, if this is the problem, why does it still report the original error
> and not an error from the page template?
You find the implementation in
OFS.SimpleItem.Item.raise_standardErrorMessage
Dieter