[Grok-dev] template association - suboptimal magic?
regebro at gmail.com
Fri Sep 5 05:12:40 EDT 2008
On Fri, Sep 5, 2008 at 10:35, Jan-Wijbrand Kolman <janwijbrand at gmail.com> wrote:
> Yes it does, just like your solution would: the grok.template()
> directive would store the exact path to a the template file and this is
> information would be available on the subclasses - that's how directives
Ah. Right you are.
> Just to be clear: it won't break in my proposal, since I propose to
> still look in x_templates by default for the templates unless overridden
> by a grok.templatedir() in the module.
Wait, weren't you suggesting that we have grok.template() on
everything? Then I might misunderstood. If it doesn't break, but
solves the problem, I'm +1. :)
Lennart Regebro: Zope and Plone consulting.
+33 661 58 14 64
More information about the Grok-dev