Re: [xwiki-users] Using Javascript as a scripting language

2016-08-06 Thread Daniel Ullfig
course you would want to re-validate on the server side, and why duplicate efforts in velocity, when you already have the library in javascript? Dan -Original Message- From: Thomas Mortagne Sent: Friday, August 05, 2016 1:32 AM To: XWiki Users Subject: Re: [xwiki-users] Using

Re: [xwiki-users] Using Javascript as a scripting language

2016-08-05 Thread Thomas Mortagne
Two possibilities: * you have a javascript engine (Nashorn) provided with the JDK (at least the Oracle one and OpenJDK) so no need to do anything in that case * Nashorn is not part of the JRE but it's compatible with it so you can take the nashorn.jar from the JDK or build your own JRE version