[z3-five] Re: Z3/Five-views and portal_skins

Lennart Regebro regebro at nuxeo.com
Fri Nov 5 18:05:33 MET 2004


Tres Seaver wrote:
> I have a stab at that available:
> 
>   http://codespeak.net/svn/z3/CMFonFive/trunk
> 
> I'm afraid the solution there is not entirely satisfactory:  it requires 
> cloning the CMF templates (e.g. 'document_view', etc.) to allow bridging 
> between the expectations of ZPT in Z2 vs. Z3.

Yeah, that's probably not something we would want to do, since it 
requires all our customers to do template changes in two places...

I tried making Five simply use Zope2 PageTemplateFiles instead of the 
Zope3 ones, and got some surprising results. For example; container, 
context, and here all ends up being the SimpleViewClass for the 
template. Hups! :-)


More information about the z3-five mailing list