Re: JSON-RPC support

2014-02-12 Thread Dirk Frederickx
Hi Ichiro, At the server side (java part) you should have something like this: ... JSONRPCManager.registerGlobalObject( "blah", new MyJSONBlahSample() ); public class MyJSONBlahSample implements RPCCallable { // JSONRPC command => "blah.respond", [qv,5] public int getRespon

Re: Code Standards

2014-02-12 Thread Harry Metske
Brian, I am rather neutral to code standards, but have also a preference to more "compact code". So I am +1 to your proposal. kind regards, Harry When I first started working on patches for tomcat several years ago, I found their code standards quite extreme compared to my personal preferences.

Code Standards

2014-02-12 Thread Brian Burch
When I first started working on patches for tomcat several years ago, I found their code standards quite extreme compared to my personal preferences. As time has passed, I've come to appreciate their rules and adopted many (not all) for my own projects. As I've started working on jspwiki, I mu

Re: JSON-RPC support

2014-02-12 Thread Ichiro Furusato
Hi Dirk, Well, I've now spent quite a lot of time trying to get this to work, to no avail. I've tried this within a plugin, then when I was unable to get that to work I went ahead and spot-modified a JSP to include a direct AJAX call. I was successful in emulating the existing search.findPages ca