hmm...This is an event handler for ajax action. I access it via
ajax('/somepage:event') at client side. I don't see any problem for
Tapestry to handle the json return value. And it works if I skip the
getMarkup for the block. The client receives the json string without
problem.
δΊ 2012/11/10 1:09, Lance Java ει:
Tapestry does NOT accept JSONObject as a return value from a component event.
If you want to make a JSONObject available in your javascript, you should
use AjaxResponseRenderer.
http://tawus.wordpress.com/2011/10/01/tapestry-5-3-new-features-part-2/
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Howto-render-a-block-and-put-it-into-a-JSON-reply-tp5486823p5717885.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org