[Zope] The old dmtl namespace question

Chris Withers chrisw@nipltd.com
Wed, 6 Jun 2001 11:32:05 +0100


> 4. <dtml-var "method">
>
> 4 is well, number 4. watch out for number 4. like you said, it calls, but
> doesn't render.

...err, it doesn't call it at all. Anything between double quotes is just
normal python. dtml-var dumps a string rendering of whatever the expression
evaulates to. In the above example, that's a string representation of a DTML
Method object, something like:

<DTMLMethod instance at #####>

...which of course looks like a crap HTML tag and so isn't rendered by your
web browser, but check the source, it is there...

cheers,

Chris