Shane Hathaway 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.
Will it re-appear when the replacement is deleted? That could be confusing...
...but also accessible from DTML?
No. DTML will never have access to the replaced method.
Oh well... could have been handy...
I don't understand your first question, but the answer to the second is "yes" regardless. :-) You would set index_html.__replaceable__ = ObjectManager.UNIQUE .
Cool, that's what I was looking for... cheers, Chris