Terry, Check-out jspwiki-common.js; which contains a javascript-routine "jsonrpc". It builds on top of the mootools AJAX api, to invoke JSON Requests and capture the response or error.
dirk On Sun, Mar 17, 2013 at 9:58 AM, Florian Holeczek <flor...@holeczek.de>wrote: > Hi Terry, > > this is done via JSON-RPC, have a look at the search page to see how it > works! > > Regards > Florian > > > > On 16.03.2013 23:55, Terry Steichen wrote: > >> I have an extensive site with thousands of JSPWiki pages and many JSP's >> as well. They all share a standard look/feel. What I'd like to do is take >> a JSON-encoded string and send it back to a requesting client. >> >> I imagine I'm missing something very basic. But I can't figure out how >> to direct the response back so it ONLY contains the JSON-encoded response >> (with none of the HTML stuff that form the look/feel of all pages). >> >> I realize I can use a special purpose JSP, but for a variety of reasons, >> I'd like to do it within the JSPWiki framework. My brain has gone numb on >> this. Any thoughts would be welcome (and I hope I've explained the matter >> sufficiently). >> >> Terry Steichen >> >