> >>Hi list,
> > Hi there,
> >>I've started to play around with Avalon, Phoenix and the 
> other goodies. I
> >>arrived to a point where I'm not able to find in the 
> documentation what I'm
> >>searching, so I have a small question:
> >>
> >>I have a generic component X which can have different 
> behaviour for the
> >>same ROLE depending on the configuration. I want to run 
> different instances
> >>of this component with different configurations. How could 
> I achieve this ?
>
> Use the ComponentSelector approach.  Cocoon demonstrates this 
> with the DataSource
> selection.  You can have multiple DataSourceConnections 
> associated with one webapp:
> 
> <datasources>
>    <jdbc name="foo"/>
>    <jdbc name="bar"/>
> </datasources> 

I was just starting to read the source code to see how it was done for
DataSource.

Thanx for the confirmation,

  Guillaume

[...]

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

Reply via email to