#1086: Let widgets support any template language supported by TG
-------------------------+--------------------------------------------------
Reporter: alberto | Owner: alberto
Type: enhancement | Status: new
Priority: normal | Milestone: 1.1
Component: Widgets | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment (by alberto):
The following patches against TG trunk and TurboKid trunk are a beginning.
All tests pass except a new one added which implements a widget in
Cheetah. Unfortunately TurboCheetah doesn't implement yet
"load_string_template" so the tests raises a NotImplementedError.
TurboKid also needs to be patched with the accompanying patch which
implements {{{load_string_template}}}.
= TODO =
1. Patch markup to allow a {{{template_string}}} argument to
{{{load_template}}} so it can load templates from a string.
1. Do the same to TurboCheetah
1. Do the same to any TemplateEngine that wants to be compatible with TG
widgets.
Feedback much appreciated! :)
Alberto
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1086>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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-tickets
-~----------~----~----~----~------~----~------~--~---