[Zope] Rendering DTML from string
Small Business Services
toolkit at magma.ca
Sat Apr 3 08:01:29 EST 2004
From: "Samir Mishra" <SamirMishra at cbuae.gov.ae>
> I'm reading in text from a file residing in a LocalFS object, it contains
> DTML code. My DTML method prints the DTML code rather than rendering the
> variables. How can I get it to change this behaviour?
Try something like (untested):
<dtml-let routine="_.getattr(c_LocalFS, 'x.txt')">
<dtml-var "_[routine]">
</dtml-let>
HTH
Jonathan
More information about the Zope
mailing list