Doesn't work <dtml-var "_[someDTMLstrObj]">. I get the raw dtml in page source. Which doesn't display in the browser because browser doesn't understand DTML tags. Johnathan, you helped me out with a similar question some time ago. Thanks again. Any other suggestions? Samir. Small Business Services wrote:
From: "Samir Mishra" <SamirMishra@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
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )