cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoff Howard <cocoonge...@yahoo.com>
Subject Re: Using own application components in Cocoon
Date Tue, 03 Dec 2002 14:22:22 GMT
By they way, the faq mentioned below on declaring a
user roles file in cocoon.xconf may be incorrect (at
least for Catalina/Tomcat).  The path to the roles
file as shown should be an absolute reference.  i.e.,

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

See
http://marc.theaimsgroup.com/?l=xml-cocoon-users&m=101769807107026&w=2

Geoff Howard

--- Bruno Dumon <bruno@outerthought.org> wrote:
> On Tue, 2002-12-03 at 09:12, Vermeulen, Francis
> wrote:
> > Hi folks,
> > 
> > cab anyone tell me what the recommended way is to
> add Avalon/Excalibur
> > components to the Cocoon configuration? I guessed
> it is by adding
> > <component> entries in cocoon.xconf, but this is
> nowhere explicitely
> > mentioned in the developers docs.
> 
> That's the way to go indeed.
> 
> >  Related to this: does Cocoon use an
> > Excalibur role manager so that roles and
> components can be defined
> > independently?
> 
> Yes (the default excalibur role manager)
> 
> >  Can <role> entries be added to cocoon.xconf?
> 
> You need to create your own roles file, and refer to
> it using the
> user-roles attribute on the cocoon element (the root
> element of the
> cocoon.xconf file). This is also mentioned in the
> faq item at
>
http://xml.apache.org/cocoon/faq/faq-configure-c2.html
> 
> The use of a roles file optional though, you can
> also use the generic
> component declaration syntax.
> 
> -- 
> Bruno Dumon                            
> http://outerthought.org/
> Outerthought - Open Source, Java & XML Competence
> Support Center
> bruno@outerthought.org
> 
> 
>
---------------------------------------------------------------------
> Please check that your question  has not already
> been answered in the
> FAQ before posting.    
> <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:    
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:  
> <cocoon-users-help@xml.apache.org>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

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


Mime
View raw message