[Product-Developers] [portlets] Getting hold of the context object holding the assignment

Mikko Ohtamaa mikko+plone at redinnovation.com
Sun Jul 24 09:25:31 UTC 2011


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:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 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
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (Darwin)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQGUBAEBAgAGBQJOK+HPAAoJEADcfz7u4AZjPoYLv2mxi7TTIC9L3p9xWhzcx35B
> m176q7IFaOh6gi6Xp0JNNFHCiWMeEFURw4Sg32fJBsAvpldaHj+DQm1Qe3M/jIyr
> ZUg1tJOL8EgPXxC3bXjAn/RxW/b2Ggsy9JtoydJYd8v5PsdiVPchvacdOjFNTDpH
> KeMvsK1R9QgsyDMXarJmc+QkxOTpQEL7FDLLHh83hJhbehe75WMjoIZpIIgv5Hs2
> 418WVV6SeUDQ+YJ1sN9gTWxBU/exaNhHK9lvLm+q9J7l//H2nowbXhS4XUp8MZo9
> nZpwrr8T8yInbot0aQAB1YfM00j712YaZ1byDYmjB5uzGFiE3TSJeeM4kP0+cf5L
> I4t3Anf9lx3PAlNtOtquF4LMebVrLPqYYn9M78KC530FQ4Ueo0xF6HHy7iozyUl5
> pVOpyvfv9AGjN3XLzmE7VtwGEDJF5Y7AndOkluAECol449lPR6x9e30PWsxqLC1V
> X4wzvAlZEgrFYFH7oF/xq+vLrO/kzkE=
> =reuH
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> https://lists.plone.org/mailman/listinfo/plone-product-developers
>
>



-- 
Mikko Ohtamaa
mFabrik - Freedom Delivered.

Web site - http://mfabrik.com
Mobile site - http://mfabrik.mobi
Blog - http://blog.mfabrik.com


More information about the Product-Developers mailing list