I am verifying the request via Fiddler.
I tried
requestCycle.getRequest().getPostParameters().getParameterValue("id") but
got null.
In fiddler i see that {"id":1} is sent as body. I don't have script for
generating the request, because kendoUI is doing the request but i can tell
you what fiddler catches:
POST
<myListener>
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
WebForms:
QueryString-> Name: 4-1.IBehaviorListener.2-tree, Value:
Body-> Name: {"id":1}, Value:
Is it possible that Content-Type: application/x-www-form-urlencoded is
problem?
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Read-JSON-from-ajax-post-tp4668789p4668791.html
Sent from the Users forum mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]