On Wed, 2005-08-24 at 16:45 -0500, Antonio Gallardo wrote: > Jason Johnston wrote: > > >>On Wed, 2005-08-24 at 21:18 +0200, Thorsten Scherler wrote: > >> > >> > >... > > > > > >>>How can I use JavaScriptHelper.callFunction if I cannot create an > >>>Object[]? > >>> > >>>Is there another way to create a Object[] then the above mentioned? Is > >>>this a bug? > >>> > >>>Is there a better way to execute javascript that is stored in a string? > >>> > >>> > > > >Also, have you tried using the eval() JS function? Seems like that's > >the simplest way to execute a string. > > > > > AFAIK, Thorsten already tried eval() and does not work. :-( >
Yeah, Antonio is right. The eval() gives "Calling eval() with anything other than a primitive string value will simply return the value. Is this what you intended?". ...and that is not what I was intended. ;-) salu2 thorsten > Best Regards, > > Antonio Gallardo > -- thorsten "Together we stand, divided we fall!" Hey you (Pink Floyd) -------------------------------------------------------------- Thorsten Scherler Wyona Inc. - Open Source Content Management - Apache Lenya http://www.wyona.com http://lenya.apache.org [EMAIL PROTECTED] [EMAIL PROTECTED]
