Hi Malthe, How often is the adaptation called?
For example, suppose a Page Template had a tal:repeat that rendered a macro inside of it. If that tal:repeat looped 5 times, do we get 5 more adaptation calls, besides the call of the outermost Page Template? Just asking out of curiosity, I haven't looked at the code, other than the interface link you posted. Cheers, Leo On Wed, Jul 20, 2011 at 17:24, Malthe Borch <mbo...@gmail.com> wrote: > I've refactored the ``pagetemplate`` module to realistically support > plugging in an alternative implementation of the parser and > interpreter. > > http://svn.zope.org/zope.pagetemplate/branches/engine-as-component/ > > Two new interfaces are added which serve as the plugging point see > ``IPageTemplateEngine`` and ``IPageTemplateProgram`` in this module: > > http://svn.zope.org/zope.pagetemplate/branches/engine-as-component/src/zope/pagetemplate/interfaces.py?rev=122300&view=markup > > I'd like to propose merging this into trunk. > > \malthe > _______________________________________________ > Zope-Dev maillist - Zope-Dev@zope.org > https://mail.zope.org/mailman/listinfo/zope-dev > ** No cross posts or HTML encoding! ** > (Related lists - > https://mail.zope.org/mailman/listinfo/zope-announce > https://mail.zope.org/mailman/listinfo/zope ) > _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )