REPLACEABLE objects and aqcuisition question.
I'm using Zope 2.6.0 and I have a product that creates a PageTemplateFile that is replaceable (by setting pt.__replaceable__ = REPLACEABLE ) I declare this in the method hash of my __init__.py so this PT is available even to constructors. I am having a problem that the object is replaced only in the container the replacement is in, the replacement is not acquired by sub objects. Is there a way to stop this, to make it acquire the one in its parent? -- Clint Brubakken <cabrubak@inetic.com> Inetic Web Development
Clint Brubakken wrote:
I am having a problem that the object is replaced only in the container the replacement is in, the replacement is not acquired by sub objects.
Weird. You do anything funky with acquisition? cheers, Chris
I have transparent folder, but this happens even in folders that aren't in the acquisition path of them. On Wed, 2002-10-30 at 05:45, Chris Withers wrote:
Clint Brubakken wrote:
I am having a problem that the object is replaced only in the container the replacement is in, the replacement is not acquired by sub objects.
Weird.
You do anything funky with acquisition?
cheers,
Chris -- Clint Brubakken <cabrubak@inetic.com> Inetic Web Development
Clint Brubakken wrote:
I have transparent folder, but this happens even in folders that aren't in the acquisition path of them.
Try getting rid of anything funky and see if the problem is still there. cheers, Chris
participants (2)
-
Chris Withers -
Clint Brubakken