cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Leszek Gawron <lgaw...@mobilebox.pl>
Subject Re: [Flowscript] Delete files
Date Wed, 07 Jul 2004 18:28:43 GMT
Olivier Billard wrote:

> Hi cocooners !
> 
> I'm trying to delete a java.io.File flowscript, but delete is a reserved 
> word in javascript, and I get the following error :
> 
> "SyntaxError: missing name after . operator"
> 
> calling getPath() works well, so my java.io.File is correct.
> 
> Is there "yet another way" to delete files in flowscript ?
> 
> Thanks !
file["delete"]();
should do the trick.

-- 
Leszek Gawron                                      lgawron@mobilebox.pl
Project Manager                                    MobileBox sp. z o.o.
+48 (61) 855 06 67                              http://www.mobilebox.pl
mobile: +48 (501) 720 812                       fax: +48 (61) 853 29 65


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message