[Zope] Re: this().aq_explicit() & this().document_src() - what is the relationship?

Maik Jablonski maik.jablonski@uni-bielefeld.de
Mon, 05 May 2003 15:53:14 +0200


Fabio Rolando wrote:
> Hi,
> I have a ZClass with DTMLDocument as base class. I made a DTMLMethod to 
> display the contents of the Object with
> 
> <dtml-var "this()">
> 
> but I got the HTML tag escaped (i.e. < transformed in &lt; and so on)

Hi,

"this()" returns the current object... You have to call it with the 
"magic" positional parameters to render it correclty:

<dtml-var "this(None,_)">

Cheers, Maik