Re: [Zope-CMF] Accessing specific browser views from PythonScripts
Am 31.01.2008 um 16:03 schrieb Wichert Akkerman: Previously Charlie Clark wrote: Dear all, I've got a site with mixture of classical objects with skins and a few using browser views. I need to generate a special compound view of all the objects in a folder and for convenience will be doing this in a PythonScript. While I can access @@views from templates, I can't figure out how to do this from a PythonScript. Is it all possible? view=context.restrictedTraverse("@@view") Thanks! Charlie -- Charlie Clark Helmholtzstr. 20 Düsseldorf D- 40215 Tel: +49-211-938-5360 GSM: +49-178-782-6226 ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests
Re: [Zope-CMF] Accessing specific browser views from PythonScripts
Previously Charlie Clark wrote: > Dear all, > > I've got a site with mixture of classical objects with skins and a few > using browser views. I need to generate a special compound view of all > the objects in a folder and for convenience will be doing this in a > PythonScript. While I can access @@views from templates, I can't > figure out how to do this from a PythonScript. Is it all possible? view=context.restrictedTraverse("@@view") Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]>It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. ___ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests