You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by amit Meena <am...@gmail.com> on 2009/02/20 10:15:31 UTC

How to use JSONRPCManager to expose server side function without using jsonrpc.js

Hi,

How can i use JSONRPCManager to embed JSON calls inside jsp pages, as
jsonrpc.js is no more part of the JSPWiki distribution.

Thanks and regards
Amit Meena

Re: How to use JSONRPCManager to expose server side function without using jsonrpc.js

Posted by Dirk Frederickx <di...@gmail.com>.
Have a look aj jspwiki-common.js.
A call to Wiki.jsonrpc(...)  should do all the work for you.


dirk


On Fri, Feb 20, 2009 at 11:04 AM, Janne Jalkanen <ja...@iki.fi>wrote:

> > How can i use JSONRPCManager to embed JSON calls inside jsp pages, as
> > jsonrpc.js is no more part of the JSPWiki distribution.
>
> You can use the mootools Ajax object.  Or just include jsonrpc.js on your
> own :-)
>
> /janne
>

Re: How to use JSONRPCManager to expose server side function without using jsonrpc.js

Posted by Janne Jalkanen <ja...@iki.fi>.
> How can i use JSONRPCManager to embed JSON calls inside jsp pages, as
> jsonrpc.js is no more part of the JSPWiki distribution.

You can use the mootools Ajax object.  Or just include jsonrpc.js on your own :-)

/janne