The changelog for .9a6 reports that tg_format has "properly" been
removed from the parameters passed to functions. My application
responds slightly differently to json and normal requests (a redirect
for normal requests, and a response for json). This is so that
non-_javascript_ users can receive a full refresh of current data, while
json-enabled users can receive an update of only the information they
need. My old way of accessing tg_format has been removed.
Is there a new way to determine in my function whether the server will
be sending back a json response or rendered html? Some class variable
that I'm missing perhaps?
expose(format=json) ?
Steven James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" 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
-~----------~----~----~----~------~----~------~--~---
- [TurboGears] tg_format has been removed Steven James
- [TurboGears] Re: tg_format has been removed Jorge Vargas
- [TurboGears] Re: tg_format has been removed Kevin Dangoor
- [TurboGears] Re: tg_format has been removed Kevin Dangoor
- [TurboGears] Re: tg_format has been removed Steven James
- [TurboGears] Re: tg_format has been removed Elvelind Grandin
- [TurboGears] Re: tg_format has been removed Steven James

