The only default script engine is the one that ships with the JDK. However, you 
can add JARs for any other script engine to make it available to your Pivot 
code. You just need to tell the page which language to use - for example:

<?language groovy?>

G

On Nov 22, 2010, at 12:02 PM, Jacques Granduel wrote:

> Hi again, 
> 
> a side question...
> The scripts in BXML are evaluated thru jsr-223,  so Javascript scripts are 
> evaluated by default with rhino-1.6R2 from the JVM, if I'm not wrong.
> Server-side JS (and of course Pivot) is more attractive because of CommonJS 
> standard. Do you think of any clean mean of embedding a commonJS engine 
> (narwhaljs for ex.), or at least a very recent version of rhino to be used 
> from Pivot? Even project projects from https://scripting.dev.java.net/ don't 
> seem to be that actively maintained...
> 
> Regards, 
> jqg
> 

Reply via email to