For the record, by following the same pattern it should be possible to
implement a class that responds to dtml-in content too, by
implementing __getitem__
On Wed, 2003-01-15 at 06:00, Bjorn Stabell wrote:
Thanks Leo, this is very helpful. It should probably be in a HOWTO
somewhere. :)
On Tue, 2003-01-14 at 01:01, Bjorn Stabell wrote:
Bjorn Stabell wrote:
I would like
dtml-var content
dtml-with content...
dtml-if content
to call different functions. The first renders the object, the second
returns a mapping of the content's attributes/properties, the third
Bjorn Stabell wrote:
Hello,
When a content is rendered by the Zpublisher, its index_html() is
called. When it is rendered in DTML, e.g., as dtml-var
content, its
__call__ method is called. The __call__ method is also
called if the
object appears in dtml-if content or