The test breakage with r1686 was posted on the main TurboGears list,
and I added a proposed patch.  If there's no problems with intializing
the engines dict at module load-time instead of lazily when calling
_choose_engine I'll go ahead and commit the patch:
http://groups.google.com/group/turbogears/browse_thread/thread/00134fe24706d991

Michele Cella wrote:
> I may miss something but actually TG internal widgets are kid only but
> you should be able to get use a different template language as long as
> it provides the template plugin.
>
> For example:
>
> class MyWidget(Widget):
>    template = "stan:path.to.template"

Actually the base Widget class expects all Widget templates to be Kid,
as seen in the __init__ method's call to "load_kid_template".  The
Widget class will need some changes before other template engines will
be supported.  r1686 at least allows you to use widgets when your
default template engine is not Kid.

-- Matt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---

Reply via email to