On Wed, Jul 11, 2001 at 11:38:20PM +1200, Mick wrote:
> Hi,
> 
> I am trying to make a product act like an external method, or dtmlmethod.
> Basically I have taken the minimal product and added a __call__ function.
> It works fine, and can be called as a function of the object that contains
> it.  The problem is that the minimal objects namespace is also pushed onto
> the stack, and to get out of it I need to go through self.aq_parent.

You may want to try out Shared.DC.Scripts.Script.

I have a (preliminary) HOWTO at
http://www.zope.org/Members/lalo/scriptclass-dev

[]s,
                                               |alo
                                               +----
--
http://www.laranja.org/                mailto:[EMAIL PROTECTED]
         pgp key: http://www.laranja.org/pessoal/pgp

Brazil of Darkness (RPG)      ---       http://www.BroDar.org/

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to