Hi,

I just started to play around with Avalon, and have the following question:
I would need to use a set of components of the same type simultaneously,
without knowing up-front how many there are.

To make it a little more clear, consider following:
<providers id="p">
     <provider id="a"/>
     <provider id="b" />
</providers>

I know I could do a selector.select("a"), but I don't know how many
of these providers there are, nor what they're called..

I would like to say something like:

Component[] providers = selector.select("p");
for (int i=0;....) {
   providers[i].doSomething()
}

Could anybody give me some pointers on how to accomplish this ??
If this is not directly possible in avalon/excalibur -- any pointers
on what to extend to make it possible ?

Many thanks,

- Filip


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to