See http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=104498961922321&w=2 -
thanks Christopher ;-)

Reinhard

> Hi All,
> 
> Does anyone know how to write a call from FlowScript to a Java Method, 
> when the method name is the same as a keyword in JavaScript?
> 
> I am trying to invoke the following Java Method from JavaScript and it 
> refuses to interpret:
> 
>       var sess = Packages.org.iniva.Persistance.getSession();
>       ....
>       sess.delete(coverage);                                          <<< error line
> 
> The interpreter complains:
> 
>       SyntaxError: missing name after . operator
> 
> I assume it is the presence of the 'delete' keyword.
> 
> Is there any way to 'trick' the JavaScript interpreter to call this?
> 
> thanks for any help
> 
> regards Jeremy
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!

Reply via email to