Hi everyone,
I have what I think is a banal question here... Is there any way I can
test inside a zsql method if an argument has been passed? <dtml-if foo>
won't work because 0 (zero) is an expected value.
Have tried <dtml-if "_.hasattr(_, 'foo')"> but it seems to be always
false (where's that namespace?)
TIA,
Pablo
_______________________________________________
Zope maillist - [email protected]
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )