THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Your actions can accept incoming JSON if they are in package which uses json
interceptor or by adding reference to it as follow:
Code Block |
---|
@InterceptorRef(value="json") |
JSON RPC
The json plugin can be used to execute action methods from javascript and return the output. This feature was developed with Dojo in mind, so it uses Simple Method Definition to advertise the remote service. Let's work it out with an example(useless as most examples).
...