use firebug to see if dojo is making a request to "url" to retrieve
the method signature.

musachy

On Thu, Apr 2, 2009 at 5:52 AM, boraldo <bora...@hotbox.ru> wrote:
>
> 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.
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to