Re: DirectoryGenerator problem (was: Re: Listing files from a directory)

2003-12-05 Thread hed
I think there is a bug in DirValidity class (nested in DirectoryGenerator class): public int isValid() { if (System.currentTimeMillis() <= expiry) { return 1; } expiry = System.currentTimeMillis() + delay; int len = files.size(); for (int i = 0; i < len; i++) { File f = (File)files.get(i); if (!f.

DirectoryGenerator problem (was: Re: Listing files from a directory)

2003-12-05 Thread Jan Wielgus
>You wouldn't want an Action to do that - but a Generator, and there are >several included by default. Look in the user docs under Generators - >you'll find at least DirectoryGenerator and ImageDirectoryGenerator >there. I think there are others with more sophisticated options which >may be n

Re: Listing files from a directory

2003-12-05 Thread gounis
look for directory generator --stavros On Thu, 4 Dec 2003, [iso-8859-2] Jan Wielgus wrote: > Hello, > > is there an action that performs listing files of a specific > directory given (as parameter for example)? > > Jan > > > -

Re: Listing files from a directory

2003-12-04 Thread Geoff Howard
Jan Wielgus wrote: Hello, is there an action that performs listing files of a specific directory given (as parameter for example)? You wouldn't want an Action to do that - but a Generator, and there are several included by default. Look in the user docs under Generators - you'll find at least

Listing files from a directory

2003-12-04 Thread Jan Wielgus
Hello, is there an action that performs listing files of a specific directory given (as parameter for example)? Jan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]