[Zope] DTML woes (again)
Matt Gregory
matthew.gregory@skyleach.com
Tue, 9 Apr 2002 10:30:59 -0400
I have a namespace structure where I am trying to create a portlet template.
The namespace (described below) will contain many portlats with varying
content but much of the same format.
portlets
|_billingpayerinfo
|_aetna
|_insurance
|_anotherportlet
In the portlets namespace, I have the following dtml method object:
<dtml-let includeDir="'billingpayerinfo'" includeFile="'aetna'">
<dtml-var expr="_[includeDir][includeFile]">
</dtml-let>
Where includeDir and includeFile are meant to be passed by any links inside
of any of the portlets. For instance consider the following link:
<a
href="/portlets/portlet_template?includeDir=billingpayerinfo&includeFile=aet
na">Aetna</a>
The problems abound, but at the moment it's formatting the html in Aeta
instead of just returning it as html in the template.
Any suggestions on how to fix that?