[Zope] Trivial DTML question

Dan Jacobs dan@danjacobs.com
Fri, 3 Aug 2001 15:13:50 +0100


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