#1963: Pages of quickstarted TG 1.1 app do not validate
-------------------------+--------------------------------------------------
Reporter: chrisz | Owner: chrisz
Type: defect | Status: reopened
Priority: high | Milestone: 1.1
Component: TurboGears | Version: 1.1 HEAD
Severity: major | Resolution:
Keywords: needs tests |
-------------------------+--------------------------------------------------
Comment (by Chris Arndt):
I also just discovered that there already seems to be some support for
passing extra options to template engines in the `expose` decorator: the
[source:/branches/1.1/turbogears/controllers.py#L261 mapping parameter] is
passed unaltered down to `view.render` via `controllers._execute_func` and
`controllers._process_output`, but there it is silently discarded by the
`adapt_call` function if the template engine's `render` method does not
support it.
Regarding providing our own Genshi renderer, it occurred to me that we
could just cheat in `view.load_engines` and replace the `genshi` plugin
class with our own implementation (maybe making this configurable) when
loading the template plugins.
What do you think?
--
Ticket URL: <http://trac.turbogears.org/ticket/1963#comment:18>
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
-~----------~----~----~----~------~----~------~--~---