[z3-five] Re: Using Zope2 page templates with Five

Philipp von Weitershausen philipp at weitershausen.de
Tue Jan 25 15:00:58 MET 2005


Lennart Regebro wrote:
>> You mean a configuration knob for a particular page template 
>> declaration? I'm not sure whether we want to provide this kind of 
>> option. I think it's better to pick one and go with it for now, unless 
>> we have strong reasons to want both options.
> 
> I think we should go with the Zope2 templates in that case. The forward 
> compatibility issues should be minor.

I certainly would like to have Zope 3 ZPTs in Five, as would probably 
others. If people really have the use case of needing Zope 2 ZPTs, how 
about the following:

<browser:page> and all the configuration directives known from Zope 3 
make regular Zope 3 ZPT pages, while <five:page> and corresponding 
directives make Zope 2 ZPT pages. Or, maybe in a more intuitive manner, 
<zope2:page>?

Philipp



More information about the z3-five mailing list