[Product-Developers] [Collage] Browser view lookup using a particular browser layer?

Andreas Jung lists at zopyx.com
Wed Jun 15 11:51:45 UTC 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Although we put this feature request on hold right now:

I need either a customized view for ICollageRow or being able
to assign a different view to possible all content-types that can be
used inside collage. The former answers might bring me forward..

- -aj

Marcos Romero wrote:
> Andreas
> 
> I didn't understood it very well.
> 
> Are you willing to use a custom browser view (that happens to be a copy
> of "standard" with an extra div) **inside** collage?
> 
> Or do you need to use that custom browser view outside collage?
> 
> Regards
> 
> *Marcos F. Romero*
> Responsable de Desarrollo
> Inter-Cultura
> 
> marcos.romero at inter-cultura.com <mailto:marcos.romero at inter-cultura.com>
> www.inter-cultura.com <http://www.inter-cultura.com/>
> +54 11 4542-8299
> 
> 
> On 14/06/2011 22:10, Andreas Jung wrote:
> For Collage I have the requirement for a new display option for
> arbitrary pieces of content used within a Collage instance where
> the related content piece should be rendered using the "standard"
> browser view configured in Collage for this particular content-type but
> with an outer DIV with a special class.
> 
> Registering an additional view my-view is not the problem...the problem
> is how to call to get hold of the "standard" browser view from within
> the browser view class implementing "my-view". To be more clear:
> 
> How can I lookup a named view ('standard in this case) for an object
> (aka 'context'), the current request *and* a specific browser layer
> (ICollageBrowserLayer in this case)?
> 
> The standard approaches using restrictedTraverse() and getMultiAdapter()
> don't take the browser layer into account..any idea how to solve this?
> 
> -aj
>>
>>
_______________________________________________
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/

iQGUBAEBAgAGBQJN+JzQAAoJEADcfz7u4AZj2SYLwMzheQLqu1iZgWC6tJktWeYZ
i/4v0aP3dS38D3ll4iR0af0JrHQlDhOpCe+TVIEJ+Bk16fd56WnxtP4XeAHkSIek
m50Yse2tQPqomNka7InkW8MXkaQrI/jp1Ab2VQPrRQz9XvGKA01Hs64jwMmm5QwO
MiCdx0gbnuu/tNR8RKrIZ0Xos7ryMVzyhSyry1a+Hu3e9Bs1oTl8ICk4v4Vo+Ho6
92PVWF6TOxy+0WQN4LjSDqzxN3xAVFoaMBo3EJwEMNWOKDv6DeWBFyl/O8GMUs7u
6RH27OlkBDmvkApC5Gobh0n9Aleq7pyptfkApYL7j4HQtfDc5NEFYQkCgULOBoLl
Zq4Yk860BkRSDS4DzBSyowUgWwZy4aaa3ChfSaG/jhhtYpYKM8NKYOfbtqQ2DhtT
iZP6GFXrfax0BReFXKlSfG48fBy+rCBnocAg6tqKhyAd2sGxC5ylOiIkz78q6lAx
yfIQ1iuhFEqp/bRyejw+g2wLnv5Vs4o=
=rUfl
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lists.vcf
Type: text/x-vcard
Size: 316 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110615/8438a68a/attachment.vcf>


More information about the Product-Developers mailing list