My Java Function returns an array of objects.
In the javascript what I do is assign this array to another property.
e.g.
field.getColor() return an array ["rgb",0,0,1]
if I do an operation like
field1.setColor(field2.getColor)
it works fine.
But if I have a JS like -
message.value = field.color() ( I am trying to display the color
value in a message box)
then it puts the value as -[Ljava.lang.Object;@13d28e3
I want to display the color value as - RGB,0,0,1
I am wrapping the value as Context.javaTojs while returning from the
java function.
What am I doing wrong?
Thanks
Anupama
_______________________________________________
dev-tech-js-engine-rhino mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino