[Zope] DTML Confusion?
hamish@allan.tc
hamish@allan.tc
31 Aug 2001 18:05:14 -0000
JZ>I can also
JZ>
JZ><dtml-var "Util.utility_function(REQUEST=REQUEST)">
JZ>
JZ>but that is also a little long-winded.
OB>DTML objects are really callable instances of classess. dtml-with calls
OB>them automagically, but when you use dtml-var "..." these quotes move you
OB>from DTML to Python, and in Python there is no automagical call - you must
OB>call the objects yourself. There is no way to avoid it.
but <dtml-var "Util.utility_function()">, which is a little less long-winded,
should also work.
regards,
hamish
--
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su