You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2009/10/11 12:24:01 UTC

t5: sending json object to an actionlink

Hi,

I use jQuery's post to send json objects to an actionlink, but how to
convert it back to a json object in the T5 side?

I read somewhere we can use json.js to convert first a json to string before
sending, but including that json.js always encounter an javascript
exception, any idea how?

Thanks,
-- 
View this message in context: http://www.nabble.com/t5%3A-sending-json-object-to-an-actionlink-tp25842204p25842204.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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


Re: t5: sending json object to an actionlink

Posted by cuartz <ca...@gmail.com>.
org.apache.tapestry5.json, JSONArray, JSONLiteral, JSONObject, JSONString
i guess you can recive the json object as a parameter onActivate(JSONObject
json) and you also can send it back with ajax to de client
-- 
View this message in context: http://www.nabble.com/t5%3A-sending-json-object-to-an-actionlink-tp25842204p25846521.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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