<dtml-var aaa> vs. <dtml-var "aaa"> question
can anybody explain me why the following is happening: if i have a DTML Method m1 in the folder f1/f2/m1 and i write <dtml-var f1.f2.m1> this does not work. AFAIK the `.' operator needs to much priviledges in this context. <dtml-var "f1.f2.m1"> works, but the DTML output is not rendered, but displayed as text like: <standard_html_header><h2>........ so i'm using this construct for now: <dtml-with f1> <dtml-with f2> <dtml-var m1> </dtml-with> </dtml-with> My question is why's <dtml-var "f1.f2.m1"> not rendered?
Michael, try <dtml-var "f1.f2.m1()"> hth Phil phil.harris@zope.co.uk ----- Original Message ----- From: "Michael Lausch" <michael.lausch@1012surf.net> To: <zope@zope.org> Sent: Thursday, March 09, 2000 10:18 AM Subject: [Zope] <dtml-var aaa> vs. <dtml-var "aaa"> question
can anybody explain me why the following is happening:
if i have a DTML Method m1 in the folder f1/f2/m1 and i write <dtml-var f1.f2.m1> this does not work. AFAIK the `.' operator needs to much priviledges in this context.
<dtml-var "f1.f2.m1"> works, but the DTML output is not rendered, but displayed as text like:
<standard_html_header><h2>........
so i'm using this construct for now: <dtml-with f1> <dtml-with f2> <dtml-var m1> </dtml-with> </dtml-with>
My question is why's <dtml-var "f1.f2.m1"> not rendered?
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
participants (2)
-
Michael Lausch -
Phil Harris