[Zope] DTML Confusion?
John Ziniti
jziniti@speakeasy.org
Fri, 31 Aug 2001 10:42:45 -0400
Hey all,
Am i just missing something simple here? I want to keep certain
DTML Methods in a common folder so they can be used from anywhere.
I have:
TestFolder
index_html
Util
utility_function
Now my confusion. Within TestFolder.index_html, I'd like to be
able to:
<dtml-var "Util.utility_function">
but this returns unrendered content of utility_function. I can
<dtml-with Util><dtml-var utility_function></dtml-with>
but I hate <dtml-with> ... and I can also
<dtml-var "Util.utility_function(REQUEST=REQUEST)">
but that is also a little long-winded.
Comments? Advice? Thanks ...
--
John Ziniti
Channing Laboratory
Brigham and Women's Hospital
181 Longwood Avenue
Brookline, MA 02115
john.ziniti@channing.harvard.edu