[Product-Developers] Acquisition context inside a Plone behavior

ajung lists at zopyx.com
Wed Jan 29 12:01:57 UTC 2014


Hi there,

I am implementing a customer shortname generation policy (comparable to
INameFromTitle) where the behavior implementing the policy must get hold of
the parent folder in order to fetch a configurable prefix that is used as
part of the generated id. I followed the implementation

http://stackoverflow.com/questions/7974285/is-there-a-way-to-extend-plone-dexteritys-inamefromtitle-behavior

Unfortunately the 'context' object is not acquisition wrapped. Is there some
way to get hold of the parent object in some way?

Andreas




--
View this message in context: http://plone.293351.n2.nabble.com/Acquisition-context-inside-a-Plone-behavior-tp7569890.html
Sent from the Product Developers mailing list archive at Nabble.com.


More information about the Product-Developers mailing list