Hi,
Try adding "&xpage=plain" to the requested URL.
Thanks,
Eduard
On Tue, Jan 7, 2014 at 9:18 PM, Valdis Vītoliņš <valdis.vitolins(a)odo.lv>wrote;wrote:
Due to performance reasons I had to improve Groovy
script to
print results directly to the response object:
{{groovy}}
response.setContentType('application/xml');
response.setCharacterEncoding("UTF-8");
def out=response.getWriter();
try {
...
out.println('<?xml version="1.0"
encoding="UTF-8"?>');
out.println('<certificates>');
...
But now problem is that after that I got additional XWiki HTML even
using ?outputSyntax=plain parameter.
I suspect, I need to end/close response somehow programmatically.
Any hints?
Thanks in advance
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs