[Product-Developers] [portlets] Getting hold of the context object holding the assignment
Andreas Jung
lists at zopyx.com
Mon Jul 25 11:53:07 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Thanks,
this worked (although it's not a nice solution).
- -aj
Mikko Ohtamaa wrote:
> Is it the "key" attribute in the assignment?
>
> http://collective-docs.readthedocs.org/en/latest/portlets/tips.html#checking-if-a-certain-context-portlet-is-active-on-a-page
>
> On Sun, Jul 24, 2011 at 12:11 PM, Andreas Jung <lists at zopyx.com>
> wrote: Hi,
>
> we have the case there the portlet renderer needs to get hold of
> information from the object where the portlet was assigned to. In
> case when a portlet is inherited from a folder in the hierarchy I
> can not figure out where in the hierarchy above the assigned
> actually happened...or?
>
> Andreas
>>
>> _______________________________________________ Product-Developers
>> mailing list Product-Developers at lists.plone.org
>> https://lists.plone.org/mailman/listinfo/plone-product-developers
>>
>>
>
>
>
- --
ZOPYX Limited | zopyx group
Charlottenstr. 37/1 | The full-service network for Zope & Plone
D-72070 Tübingen | Produce & Publish
www.zopyx.com | www.produce-and-publish.com
- ------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQGUBAEBAgAGBQJOLVkiAAoJEADcfz7u4AZjGjALv2brjOrv+hIaqKRNKFmBK+tg
dSZY+43ZtxSB3JEYH4uHTMa7ApaaGMr0Ca/DHtshHs2e8QVBeIE7/ZFa5erxurak
gy67EppwZB18QTA12ni5Lt1vV+BgldehRFT1A00h3KIiCWU9I4wCPR6jaf2FxO92
p2/T9GypNmfwI5bhwrZi2/lDpOVpVaGpxNOMSZi9zuSPwGdfc2kJuOMWotf1Zn/q
FOfVwj7xQu30XPQ2HvVZW+HdqihJZqvhKpUtP6246DIpBPEtlGYB71zt0F0306Ke
BirHu8mpoQhzfUEPvjwqcqW5vluQf+Dds83bSN1avS5k173s4YCIEMnFAnARyXrc
d75s7uRCB5NSzxITggfKmb0yESYoyo60xGIwJkqxqiKTvo8SFxquAr2Jmoez1bKu
GlNVkuOQHc7k7cheUnq0viTyRmfaL08iY0sTXZvGIgsr9qx1vtNr4yYshD6iKEv/
n826mj/T9gbCc9fIDkpon2ZjCBIOrTc=
=VOCH
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 310 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110725/0cc7bc63/attachment.vcf>
More information about the Product-Developers
mailing list