On 1/1/06, Michael Schneider <[EMAIL PROTECTED]> wrote:
> Can the current system allow kid templates for the main page, and STAN
> templates
> in the widgets?
>
>
> It seems like it should not be hard to do:
>
>
> KID template
> Widget.render renders XHTML fragment in place
> ....
>
> This seems like a great use for a modular template system, and would
> allow
> reuse.
>
> Can this work? This would be great.
This was not a use case that I tested for, so it may or may not work.
My guess is that it would work.
class MyWidget(Widget):
template="stan:foo.bar.baz"
should do it. But, that's entirely untested and not something I plan
to spend time on.
Kevin