cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jorg Heymans ...@domek.be>
Subject Re: AW: How to obtain the Manager, or a Component
Date Fri, 09 Apr 2004 14:35:51 GMT


Leon Widdershoven wrote:
> Thanks,
> 
> it sounds pretty complicated. though, especially the configuration of 
> cocoon.xconf.
> I have a problem declaring app specific data in the global context; it is
> unclean.

You can declare your own config file in cocoon.xconf (at the top):

<cocoon version="2.0" user-roles="/WEB-INF/myfile.xconf">

then in myfile.xconf

<?xml version="1.0" encoding="UTF-8"?>

<role-list>

    <role name="my.super.duper.component"
     shorthand="super"
     default-class="my.super.duper.componentImpl"/>

....



HTH
Jorg


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


Mime
View raw message