cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Hartmann <andr...@apache.org>
Subject Re: choose a random image
Date Tue, 14 Oct 2003 13:01:54 GMT
Upayavira wrote:
> Andreas Hartmann wrote:
> 
>>
>>>> The min and max random number values would be configured in
>>>> cocoon.xconf.
>>>
>>>
>>>
>>> That's the problem then, how do you keep track of a variable number 
>>> of images?
>>
>> OK, this is a problem.
> 
> No it's not. You just define the input module as many times as you need 
> with different names and different ranges, random10, random20, etc.

Yes, but I think it should be possible to select the max number
dynamically, depending on the number of images that are located
in the directory.

Andreas



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


Mime
View raw message