Hello everybody,
I am using the following code (as described in the Zope Tutorial) to handle
the BadRequestException which occurs in my example if an image with the same
name already exists in the directory.
<dtml-try>
<dtml-call "manage_addImage(PicName, attached_file.read(), '')">
<dtml-except BadRequestException>
An Image with the same name already exists. Please choose a different one.
</dtml-try>
The problem is that <dtml-except BadRequestException> does not catch the exception. A <dtml-except> does, however, but that's not what I want.
It would be very nice if someone could help me on that issue,
Thanks in advance,
Philipp Robbel