[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope-dev
Subject:    Re: [Zope-dev] ZClass arguments dilemma
From:       Lalo Martins <lalo () hackandroll ! org>
Date:       2000-04-29 1:09:39
[Download RAW message or body]

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

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic