Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » birt rhino object literals
birt rhino object literals [message #1065647] Wed, 26 June 2013 21:59 Go to next message
Matt Benjamin is currently offline Matt BenjaminFriend
Messages: 1
Registered: June 2013
Junior Member

I'm trying to use a 3rd party javascript library (math.js) with Eclipse BIRT (JUNO). I was able to get some of math.js to compile (and use it), but only after very invasive code changes.

The main issue I'm seeing is errors compiling object literals, eg, the following


results in:

Java class "java.lang.Object" has no public instance field or method named "firstname".

Searching in the archives of the mozilla-rhino forums group, I see ample discussion of object literals. I'd appreciate any guidance in understanding the problem.


Re: birt rhino object literals [message #1067101 is a reply to message #1065647] Fri, 05 July 2013 20:55 Go to previous message
Kristopher Clark is currently offline Kristopher ClarkFriend
Messages: 130
Registered: January 2013
Senior Member
What version are you using? I was able to declare person from the designer, I didn't try an external js though, without any problems in 4.2.2. Can you post math.js or link me to the library and I can see if I can recreate the error?
Previous Topic:[SOLVED] Problem with date parameters
Next Topic:how to view source-code in a rptdocument
Goto Forum:

Current Time: Fri Jan 24 11:33:44 GMT 2020

Powered by FUDForum. Page generated in 0.01711 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top