Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
mozilla . dev . tech . js-engine . rhino
This is a Usenet group - learn more
Find or start a Google Group about rhino.
Group info
Group categories: Not categorized
More group info »
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 748  Older »

About embedding the Rhino parser 
  Dear list, I'm a Rhino newbie and I have some basic questions. I'm sorry if they have already been answered but I've not been able to find them. I'm currently working on a project where we use Javascript as a programming language. We've build our own homemade parser and interpreters as we interpret the scripts in different ways to perform different use cases of... more »
By Iván Párraga García  - Jul 8 2010 - 1 new of 1 message    

Type conversion between Java & Javascript, e.g. Java List to Javascript array 
  Is it possible to configure Rhino to do automatic conversion or wrapping between Java types and Javascript equivalents? In particular, I'd like to use javascript to call a Java method which returns a List. And have that List be mapped to a Javascript array. I understand why this isn't the normal behaviour, but it can be very... more »
By Daniel Winterstein  - Jul 7 2010 - 4 new of 4 messages    

dont you guys have a spam filter? 
 
By Dan Howard  - Jul 6 2010 - 4 new of 4 messages    

Find out how many parameters a function has 
  Is there a way to find out how many parameters are in a JS function? I can get access to the InterpretedFunction object representing the function, but I have no idea how to use it. The source code is vague, and the JavaDoc doesn't even exist! Thanks
By Lord.Quackstar  - Jul 4 2010 - 1 new of 1 message    

Issue with XML.replace in E4X implementation? 
  Hi, I think there is a bug in the E4X implementation XML.replace function: Rhino 1.7 release 2 2009 03 22 js> <xml><one/><br/><two/><br/><th ree/><br/></xml>.replace('br', '') <xml> <one/> <br/> <two/> <three/> </xml> js> AFAIK the code should remove all the <br/> nodes, but the first one remains. I also tested in FF3.6 and there the <br/> nodes are properly... more »
By P  - Jul 2 2010 - 1 new of 1 message    

Eclipse integration & Classloader 
  Hi all, I am experimenting with a rhino powered JavaScript shell for Eclipse 3.6. It was quite easy to get it running for pure JavaScript code. Now I am facing problems when I try to access Java classes through the LiveConnect feature. Accessing "Packages.something..." works only for Java classes of the JRE... more »
By Christian Pontesegger  - Jun 30 2010 - 2 new of 2 messages    

How do I use the latest Rhino engine rather than the one distributed by Sun JRE? 
  I'd like to use the latest Rhino engine rather than the one distributed by Sun in rt.jar. I cannot find any documentation as to how to do this, so any help would be appreciated.
By Gerald McNulty  - Jun 28 2010 - 2 new of 2 messages    

How to invoke Oracle stored procedure in Javascript code? 
  Hi, I created Oracle stored procedure in OEM(Oracle Enterprise Manager console) in my database, which takes two IN parameters and one OUT parameter as SYS_REFCURSOR and procedure got compiled without errors. In SQL* plus, I have few things to do like, set serveroutput ON variable recordset REFCURSOR;... more »
By nazeera.shaik75@gmail.com  - Jun 23 2010 - 1 new of 1 message    

How to create a 'real' array that passes 'instanceof Array' 
  Hello, I'm trying to run JSLint using Rhino, but I've encountered a problem that has somewhat stumped me. How can I create a 'real' array from Java? Here's what I've been trying: Context cx = Context.enter(); Scriptable scope = cx.initStandardObjects(); String src = "function f(a) { return a instanceof Array; };";... more »
By Raphael Pigulla  - Jun 22 2010 - 3 new of 3 messages    

javax.script interface to Rhino 10x slower than using Rhino direct? 
  Excuse me if this question has been asked before. I performed a simple benchmark with interpreted and pre-compiled scripts in Rhino, using the Rhino API (1.7R2) and using javax.script (Java SE 6b18), evaluating a simple arithmetic expression "1+1". I was expecting similar performance between the two. I was surprised to... more »
By Paul C. Bryan  - Jun 11 2010 - 3 new of 3 messages    

1 - 10 of 748   « Newer | Older »

XML