[Zope] NewBie DTMl Help

Dylan Reinhardt zope@dylanreinhardt.com
01 Aug 2003 09:21:01 -0700


On Fri, 2003-08-01 at 09:08, S K Rahman wrote:
> BTW I wonder in such a scenario isn't Zope supposed to throw an expection?

This falls into a bit of a gray area.  Since dtml-call provides no
return, exceptions are ignored as well.  IMO, a namespace error should
be thrown *regardless* but that's not how it works.

If you're in a situation in the future where a dtml-call isn't working,
try changing it over to dtml-var for debugging... that will provide you
with the return value and exceptions you may need to fix the problem.

Dylan