I'm working on a component that expects a json response (.. frankly , i'm not sure anymore about this)
Is a dojo widget that i'm trying to convert into tapestry. A valid response would be : ({title: "a new title"}) or even dojo.debug("server gave a new title"); ({title: "a new title"}) The problem is that using the JSONWriter i get something like : {"title" : "a new title"} -> the title is quoted and i think that is why i get an error saying SyntaxError: invalid label If i don't use JSON response , i use XML , which is not good either. Any suggestion of what i'm doing wrong ? Should i build a custom ResponseBuilder or Writer ? thanks! Alex