#2407: Support Genshi in TG widget templates
------------------------+---------------------------------------------------
Reporter: chrisz | Owner:
Type: task | Status: new
Priority: normal | Milestone: 1.5
Component: TurboGears | Version: 1.1
Severity: normal | Keywords: genshi kid widgets
------------------------+---------------------------------------------------
Since !TurboGears 1.1 it is possible to use Genshi for page templates, and
Genshi has become the default templating engine for !TurboGears.
Quickstarted projects are created with Genshi templates now. Yet, native
TG widgets still can only work with Kid templates; Genshi for widget
templates is only possible through !ToscaWidgets.
This is a very inconsistent and unsatisfaying state of affairs. TG widgets
really should support Genshi templates nowadays, and all the widgets
provided by !TurboGears should come with Genshi templates instead of Kid
templates. This will improve performance, allows us to get rid of the Kid
dependency and avoids incompatibilities between the page and widget
templating (e.g. #2390).
However, because in the TG 1.x branch backward compatibility is a crucial
issue (the main reason why we still are keeping TG 1.x alive), the native
TG widgets should still support Kid templates, and the TG widget system
should automatically convert the output between templating engines (from
Genshi's !MarkupStream to Kid's !ElementStream and vice versa).
--
Ticket URL: <http://trac.turbogears.org/ticket/2407>
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.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---