flowscript array question

2004-07-22 Thread Greg Weinger
Hi, I am simply trying to create a javascript array in flowscript, Cocoon 2.1.5. The standard javascript syntax doesn't seem to work: var array = [one,two,three]; Or: var array = new Array(3); array[0] = blah; For me, this throws a:

Re: flowscript array question

2004-07-22 Thread Greg Weinger
Ok, I did more testing, and this array creation works in normal samples (cocoon 2.1.5.1). So I did something to my current script that causes this behavior. Has anyone seen this before? I can't find anything in the archives about it. I guess I'll try to see what causes it. Greg Weinger

Re: flowscript array question

2004-07-22 Thread Greg Weinger
Ok, now I feel stupid. A previous script in our project was importing java.lang.reflect.Array. :p List-searchers beware, importing this class will break your javascript!!! Sorry for the frivolous post. Greg Weinger wrote: Ok, I did more testing, and this array creation works in normal samples