#1024: using tg_format broken for html/xml
-----------------------+----------------------------------------------------
Reporter: wavy | Owner: anonymous
Type: defect | Status: closed
Priority: normal | Milestone:
Component: CherryPy | Version: 0.9a6
Severity: normal | Resolution: invalid
Keywords: tg_format |
-----------------------+----------------------------------------------------
Changes (by elvelind):
* status: new => closed
* resolution: => invalid
Comment:
This is the correct behavior (or atleast the currently expected one).
tg_format is for changing between output formats defined by using multiple
expose decorators.
@expose("json")
@expose("kidtemplate")
xhtml/html on the other hand is a format argument sent to that template
engine. ie to tell kid to render kidtemplate to xhtml or whatever.
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/1024>
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
-~----------~----~----~----~------~----~------~--~---