Ichiro, The issue is *not* client-side related ; actually the moo tools rpc-calls are working perfectly; and returning the proper json rpc error codes. So mootools or jquery would not make any difference here. The problem is the registration of the JSONRPC-Callable classes on the server.
Perhaps the registration of your JSON-RPC plugin is happening too late for the JSONRPC-Manager.sessionCreated() to be picked up ? Maybe a logging of the c_gloablObjects in the JSONRPC-Manager may help to reveal a timing issues. Just my .02 cents, Feel free to share your java and js code on the dev mailbox. dirk On Sat, Feb 15, 2014 at 9:19 AM, Ichiro Furusato <ichiro.furus...@gmail.com>wrote: > Hi Dirk, > > Yes, you're understanding what I'm trying to do. In addition to the plugin > I've > also been using a bespoke JSP page with scriptlets to prototype ideas > quickly, > as well as a JavaScriptPlugin we wrote years ago as a test bed. (That could > be submitted as a replacement for the JSPWiki plugin of the same name if > people are interested.) > > I have tried the 'domready' wrapper you suggested but that didn't seem to > make any difference, and given the amount of time I've now spent on this I > have to say that I'm likely going to abandon any AJAX-related work in the > JSPWiki space until it at some point as moved over to jQuery, and there's a > working RPCSamplePlugin. I've just run out of both steam and time. > > For now I'll probably try using some other approach than the JSONRPCManager > since I just can't get that to work. Perhaps Apache Wink or some kind of > lightweight RESTful client-server thing, dunno. > > Thanks very much for all your help, > > Ichiro >