Re: JSON-RPC support

2014-02-15 Thread Dirk Frederickx
Ichiro, e.a., More digging in json-rpc ... I did some further investigation, trying to rewrite emitJSONCall to something workable. Apparently there are 2 types of rpc's, those that are registered via registerGlobalObject(..) and those that are registered via registerJSONObject(..) registerGlob

Re: HADDOCK template

2014-02-15 Thread Peter Hormanns
Am 14.02.2014 18:27, schrieb Dirk Frederickx: > I've just committed a new Apache JSPWiki Template/UI, "haddock". It is > partly a back-port of various v3.0 template changes, resolving a number of > long-outstanding JIRA's. But most visible, it provides a complete new > look&feel, build on top of t

Re: JSON-RPC support

2014-02-15 Thread Ichiro Furusato
Hi Harry, I can't honestly say. But I just added a printout of the list of objects in the global registry in the JSONRPCManager, and all of my registrations (of plugins as well as singleton application-level manager objects) are showing up in the c_globalObjects list. The problem seems to be relat

Re: JSON-RPC support

2014-02-15 Thread Harry Metske
I am a complete novice in this area, but aren't you running in this same situation as we did before: https://issues.apache.org/jira/browse/JSPWIKI-659?focusedCommentId=13552522&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13552522 kind regards, Harry On 15 Feb

Re: JSON-RPC support

2014-02-15 Thread Ichiro Furusato
Hi Dirk, I'm not suggesting the issue is mootools vs. jQuery, only that my inexperience with the former and the difficulty in intermixing them has kept me from using my own jQuery knowledge (which is still relatively novice-level) to quickly debug the problem, client-side. More pertinent to what

Re: JSON-RPC support

2014-02-15 Thread Dirk Frederickx
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

Re: JSON-RPC support

2014-02-15 Thread Ichiro Furusato
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 o