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
checks for "trueness" of the content.  Rendering a content could be an
expensive operation and I don't want to do it when doing dtml-with and
That kind of implicit weirdage is not something python encourages.

<dtml-var content> ...should render
<dtml-with "">
<dtml-if "content.true()"> much better.



Zope-Dev maillist - [EMAIL PROTECTED]
** No cross posts or HTML encoding! **
(Related lists - )

Reply via email to