[Zope-dev] ZClass arguments dilemma

Lalo Martins lalo@hackandroll.org
Fri, 28 Apr 2000 22:09:39 -0300


On Fri, Apr 28, 2000 at 07:12:13PM -0300, Kevin Howe wrote:
> 
> But with the ZClass, I can find no clear way to pass the self values for
> that object.
> 
> Example:
> 
>     <dtml-with myZClassInstance>
>        <dtml-var "myMethod( self, link='http://domain' )">
>     </dtml-with>
> 
> What is the correct way to go about this?

<dtml-var "myMethod (this(), _, link='http://domain')">

_ is the namespace object, it's the most important part.

[]s,
                                               |alo
                                               +----
--
          Hack and Roll  ( http://www.hackandroll.org )
            News for, uh, whatever it is that we are.


http://www.webcom.com/lalo           mailto:lalo@hackandroll.org
                 pgp key in the personal page

Brazil of Darkness (RPG)    ---     http://zope.gf.com.br/BroDar