In a folder, I have a set of DTML Methods and an ordered "lines" property that contains the names of the Methods I want to call. So in my DTML Document I have: <dtml-in items_order> <p> <dtml-var expr="_.getitem('sequence-item')"> </p> </dtml-in> This produces the names of the Methods. But I want the outputs of the Methods. If I try <dtml-var expr="_getitem(_.getitem('sequence-item'))"> then that gives me the HTML-quoted bodies of the Methods rather than their HTML output. How do I call the Methods instead of merely reading them? -- Yoz, on Dan's computer
Tried ...? <dtml-in items_order> <p> <dtml-var expr="_.getitem(_['sequence-item'],1)"> or <dtml-var expr="_.getitem(_['sequence-item'])"> </p> </dtml-in>
worked like a treat. thanks. Dan & Yoz. On Fri, 3 Aug 2001, Peter Bengtsson wrote:
Tried ...?
<dtml-in items_order> <p> <dtml-var expr="_.getitem(_['sequence-item'],1)"> or <dtml-var expr="_.getitem(_['sequence-item'])"> </p> </dtml-in>
_______________________________________________ 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 (3)
-
Dan Jacobs -
Dan Jacobs -
Peter Bengtsson