Shekhar,

 

I think you have the wrong idea about this list.  This list is for
discussing issues related to the Batik SVG toolkit.  This is not a list for
discussing general JavaScript issues.  While Batik uses Rhino, you will not
find any help here in relation to general JavaScript problems.

 

You would have more luck in the comp.lang.javascript newsgroup.

 

Hope this helps,

 

John

 

From: Shekhar Bhati [mailto:[email protected]] 
Sent: Tuesday, 26 May 2009 15:44
To: [email protected]
Subject: Issue regarding NativeArray assignment using Scriptable

 

Hi All,

 

I have a serious problem using Rhino script.

I have a hidden input variable in my jsp and my task is to assign a array to
this object in a javascript file.

myform.myObject.value=myArray;

 

In my put(){} method I have written this code :

window

.eval(name.toString() + '=' + value.toString()); 

It works for all other assignments other than this array one and gives this
array

netscape.javascript.JSException: Failure to evaluate
value=NativeArray;@53537c

Anyone have any idea how can I do this task.

 

Thanks & Regards,

Shekhar

 

Reply via email to