cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antonio Gallardo" <>
Subject Re: use my own configuration file for my avalon component
Date Wed, 27 Aug 2003 03:08:51 GMT
maisonneuve nico dijo:
> i would use a configuration file (myconf.xconf) and no cocoon.xconf to
> configure this components.. but i don't know how do this..


It is very easy :)

1. You can edit your cocoon.xconf to "tell" him about your own config file
that address new roles:

<cocoon version="2.0" user-roles="myconf.xconf">

2. Your myconf.xconf can define new roles, for example:

   <role name=""

3. Use your role inside cocoon.xconf:

   <parameter name="param1" value="value of param 1"/>
   <parameter name="param2" value="value of param 2"/>

4. Restart Cocoon.

5. Use this component as the others using lookup mynewcomponent.ROLE

Tha is all!

I hope this will help you.

Best Regards,

Antonio Gallardo

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message