Am 11.03.2010, 16:19 Uhr, schrieb Andrew Sawyers <and...@sawdog.com>:
> Heya Charlie,
> The way I do this is register a view for * with the name I'm using for
> Then in in the template:
> <metal:foo use-macro="here/@@foo/macro_to_use">
> Not sure if that's the SOP or what...but works for me.
I understand that and I've even had some success registering macros "the
Zope 3 way" - although I'm not sure that I see any advantage this way to
what you propose. However, zope.formlib.form.PageForm comes with it's own
template which has macros and slots which I like to be able to use and the
default __call__ will use this template or a replacement one defined in a
View class template attribute. And it's creating a template that uses
zope.formlib.form.default_page_template where I'm stuck.
Zope-CMF maillist - Zope-CMF@zope.org
See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests