[Zope-dev] dtml-try with z-sql

murat bilal murat.bilal at gmail.com
Fri Feb 1 09:27:21 UTC 2013


Hi all,

I have DTML-Method like below
<dtml-try>
<dtml-call "deleteUser(USERNAME=USERNAME)">

   <dtml-except>
 An error occurred. Entry was <b>NOT</b> deleted.
</dtml-try>

deleteUser is Z-SQL method.USERNAME is the argument in Z-SQL method also
column name.
When i click erase button it succesfully deletes record.But if i enter an
invalid username it did not throw any exceptions.

Please help

REgards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.zope.org/pipermail/zope-dev/attachments/20130201/cd7ba631/attachment.html>


More information about the Zope-Dev mailing list