cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: can we move roles.xconf
Date Mon, 07 May 2001 13:05:07 GMT
Sylvain Wallez wrote:
> 
> Berin Loritsch a écrit :
> >
> > giacomo wrote:
> > >
> > > I'd like to suggest to move the roles.xconf file out of the src tree
> > > somewhere near to the cocoon.xconf file (BTW I'd like to move
> > > cocoon.xconf and roles.xconf file into the WEB-INF directory).
> >
> Isn't it "cocoon.roles" ?

Yes it is.  I was using what Giacomo was saying.

> I totally agree that cocoon.roles is a developper concern, but when
> Cocoon is the base of a bigger system which defines new components, it
> would be nice to be able to define new roles for them instead of using
> <component> elements.
> 
> What do you think of adding an optional attribute to the top-level
> "cocoon" element that names an alternate roles definition file that is
> loaded from the classpath, i.e. <cocoon role-defs="mysystem.roles"> ?
> This affects only Cocoon.java, and not Excalibur.

There is one change (that I think I can sneak in before hand) in Excalibur
that needs to be made: altering the policy of the RoleManager.  It should
be able to be written multiple times, and merge the results.

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


Mime
View raw message