| I don't know the answer. I do know it's remarkably hard to figure out what format the DataController should return and therefore whether to redirect. I started out wanted to smear some Ajaxy goodness onto the DataController, but that became hard when I realised I couldn't detect whether the request had asked for JSON formatted data in a clean way (I suppose I could inspect the CherryPy data, but then if I ever get my butt in gear and have the Accept header trigger JSON format when it only contains text/_javascript_, I'll be out of luck). On 23 Dec, 2005, at 10:32 am, Kevin Dangoor wrote:
-- Jeff Watkins "Just because you have the right to do something, doesn't mean it's the right thing to do." -- Fred Friendly, former president of CBS News |
- [TurboGears] Re: Process Output problem with templates and J... Jeff Watkins

