Stacking multiple @expose decorators to be able to return either
template data or json-data does not work.

Specifying only @expose("json") works, but as soon as I add
@expose("myapp.templates.test_template") I can only extract the html.

The ticket has more info, including a small testcase and headers.

http://trac.turbogears.org/ticket/1989

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

Reply via email to