On Thu, 4 Mar 2004 13:03:20 -0800 (PST)
Dirksen <[EMAIL PROTECTED]> wrote:

> Hi,
> I'm developing a product, which extends ObjectManager. Meanwhile, I'd
> like it to behave like a script object, similar to DTML method. So I
> define a __call__ method. But it never gets run if called from the
> browser. If I change the base class to SimpleItem, it works. How can I
> make __call__ works for folderish object?

Try adding a class attribute index_html and set it to None. This is what
the CMF does to get __call__ invoked.

It's what we affectionately call a "dead chicken", a sacrafice to the
Zope gods...



Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to