You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Giacomo Pati <gi...@apache.org> on 2001/04/05 20:57:10 UTC

Re: cvs commit: xml-cocoon/webapp cocoon.xconf

bloritsch@apache.org wrote:
>
>      <datasources>
>   -    <component-instance name="personnel" class="org.apache.avalon.util.datasource.JdbcDataSource">
>   +    <hint short-hand="jdbc" class="org.apache.avalon.util.datasource.JdbcDataSource"/>
>   +    <hint short-hand="j2ee" class="org.apache.avalon.util.datasource.J2eeDataSource"/>
>   +
>   +    <jdbc name="personnel">
>          <pool-controller min="5" max="10"/>
>          <dburl>jdbc:postgresql://localhost/test</dburl>
>          <user>test</user>
>          <password>test</password>
>   -    </component-instance>
>   +    </jdbc>
>      </datasources>
>

If I understand your changes to ComponentSelector the <hint> element
mechanism is now generally available to all <components-instance>
elements (e.g. <markup-languages> ), right?

Giacomo

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


Re: cvs commit: xml-cocoon/webapp cocoon.xconf

Posted by Berin Loritsch <bl...@apache.org>.
Giacomo Pati wrote:
> 
> bloritsch@apache.org wrote:
> >
> >      <datasources>
> >   -    <component-instance name="personnel" class="org.apache.avalon.util.datasource.JdbcDataSource">
> >   +    <hint short-hand="jdbc" class="org.apache.avalon.util.datasource.JdbcDataSource"/>
> >   +    <hint short-hand="j2ee" class="org.apache.avalon.util.datasource.J2eeDataSource"/>
> >   +
> >   +    <jdbc name="personnel">
> >          <pool-controller min="5" max="10"/>
> >          <dburl>jdbc:postgresql://localhost/test</dburl>
> >          <user>test</user>
> >          <password>test</password>
> >   -    </component-instance>
> >   +    </jdbc>
> >      </datasources>
> >
> 
> If I understand your changes to ComponentSelector the <hint> element
> mechanism is now generally available to all <components-instance>
> elements (e.g. <markup-languages> ), right?

Yep.

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