You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Waldo Mendoza <to...@hotmail.com> on 2008/10/07 21:25:26 UTC

T5: page as application/json response

Hello

Is there any way to tell tapestry to render a entire page as JSON response? 
Currently there is a support like this for blocks and components, but i tried 
the following:

@ContentType("application/json")
public class TestPage {

}

But nothing happens, i want to get a json response, with .content, .scripts 
and .script properties as a part of the json object.

I am making an Ajax request, with prototype.

Thanks you


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org