Add ?xpage=plain&outputSyntax=plain to your URL
Envoyé de mon iPhone
Le 25 juil. 2012 à 00:06, David Baltusavich <david(a)synatree.com> a écrit :
Another newbie question, I'm afraid.
I have a simple Glossary application that I've written, and I've managed to
figure out how to write a velocity script to retrieve all of the glossary
terms and put them into a JSON array. The problem is, the velocity script
output is being html encoded and sent to the browser as text, including the
enclosing <script> blocks. If I wrap the whole thing in {{html}} macro
calls, the velocity script doesn't run. If I just enclose the <script>
opening and closing tags in their own {{html}} macro call, the calls fail.
What am I missing here? How do I get velocity script to render as HTML/JS?
Yours,
David Baltusavich
------------------------------
<http://www.synatree.com>
1001 State Street, Suite 1123
Erie, PA 16501
(814) 422-5887
(321) 800-8733
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users