[Zope] Help me to TRY

Dieter Maurer dieter@handshake.de
Thu, 29 Mar 2001 20:07:06 +0200 (CEST)


Peter Bengtsson writes:
 > <dtml-try>
 >   <dtml-call "manage_delObjects('objectid')">
 > <dtml-except>
 >   bad day!
 > </dtml-try>
 > ... catches "Unauthorized" ...

The easiest solution it to protect the object, that contains
this code.
Then accessing this object will already require authentication
and "manage_delObjects" will not need to issue another
exception (for this).


Dieter