I use Struts 2 with json-plugin 0.33

I have the following in my js:

        dojo.require("dojo.rpc.*");
        var service = new dojo.rpc.JsonService("${url}");
        var defered = service.go();
        defered.addCallback(callback);


go is method in my action that corresponds to ${url} and annotated as
@SMDMethod.

But this leads to js error:

        service.go is not a function


What should I do ?
-- 
View this message in context: 
http://www.nabble.com/How-to-make-json-plugin-see-SMD-methods---tp22844426p22844426.html
Sent from the Struts - User mailing list archive at Nabble.com.

Reply via email to