Chris Withers wrote:
> Will there be any access to the method/object that is being overridden
> from inside the one overriding it? Something like:
> 
>   'self.__class__.my_method("blah")'

Depends on whether the original method comes from a ZClass or product. 
If so, yes.  But if it's a regular object that's marked as replaceable
and it's replaced, the original will vanish.

> ...but also accessible from DTML?

No.  DTML will never have access to the replaced method.

> Also, will folders have replaceableness for their contents? (so you
> could, for example, have a root index_html which could not be
> over-ridden lower down?

I don't understand your first question, but the answer to the second is
"yes" regardless. :-)  You would set index_html.__replaceable__ =
ObjectManager.UNIQUE .

Shane

_______________________________________________
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