Martin Aspeli wrote:


Raphael Ritz wrote:
David Glick wrote:
You can either use IBrowserLayerAwareExtender and a browser layer that's registered by your product, or else register the extender as a local adapter (e.g. using componentregistry.xml)
David

Alternatively, you might be interested in looking at

   http://pypi.python.org/pypi/plone.behavior


I don't think plone.behavior would help here ... at least not immediately.

Which is why I said "you might be interested in looking at"
and knowing it's Andreas who I responded to ;-)

But while we are at this: I haven't used plone.behavior yet
but it seems to me like it's laying the ground for a number
of TTW configurable things that depend on interfaces being
assigned (or not) to make e.g., certain adapters available
(or not).

It is my current understanding that if Andreas were to implement
his schema extender as a behavior he could then control the
availability of this extender using a custom  IBehaviorAssignable
adapter in which he could implement any logic he wants to decide
about availability (including being in a certain site, or the
current site being configured somehow, having a certain product
installed etc...)

Please correct me if I'm wrong,

        Raphael



Martin



_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to