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

Lennart Regebro regebro at nuxeo.com
Thu Jan 27 23:16:58 MET 2005


Fred Drake wrote:
> There is an interoperability issue here in that the base set of names
> provided by the Zope 2 and Zope 3 versions of page templates doesn't
> exactly match; the compatibility layer will need to make sure the
> right set of names is provided for Zope 2.

That's a trivial issue of overriding pt_getContext()

> I've just heard that there are some problems with using macros across
> versions; I don't know if that's any more than the issue of the base
> set of names.  If there's anything else, I'd like to get some details
> from someone who knows.

The METAL implementation isn't compatible, so you can't call macros 
across versions.

> Are there any other barriers to interoperability between the two versions?

Well, it's hard to say, since macros doesn't work, and hence bars 
further testing. ;)

-- 
Lennart Regebro, Nuxeo     http://www.nuxeo.com/
CPS Content Management     http://www.cps-project.org/


More information about the z3-five mailing list