You can also skip the roles file and define the role in cocoon.xconf
directly in a component-instance element.  I did this some time ago, but
have lost the original config file after leaving that employer.  This email
exchange though should give enough of a clue if you want to go that way:

http://marc.theaimsgroup.com/?l=avalon-users&m=102457420520252&w=2

Geoff Howard

> -----Original Message-----
> From: Scott Warren [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 25, 2003 5:54 PM
> To: [EMAIL PROTECTED]
> Subject: RE: Source using Component via ECM
>
>
> For Cocoon 2.0.4 there is a file called users.role which is in the
> cocoon????.jar You need to create your own and specify it's path using the
> root element of the cocoon.xconf file for example my file has this element
>
> <cocoon version="2.0" user-roles="/WEB-INF/user.roles" >
>
> The user-roles attribute specifies my custom role which is loaded in
> addition to the original file.
>
> Hope this Helps
>
> Scott Warren
>
> -----Original Message-----
> From: Peter Klotz [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, 26 March 2003 2:27 AM
> To: [EMAIL PROTECTED]
> Subject: Source using Component via ECM
>
>
> Hi,
>
> I have a custom source that gets the component manager from the
> SourceFactory.
> So good so fine, but obviously when the source looks up its backend
> component it does not find it, although it is configured in cocoon.xconf
> as
> <component>.
>
> How is this suposed to work? Am I missing something?
>
>
> Thanks, Peter
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to