Re: The DataSourceComponent which returning OtherConnection

2002-09-25 Thread Vadim Gritsenko
Geoff Howard wrote: >I think components have to be declared in cocoon.xconf >in order for the container to initialize them, or even >to find them. > If I'm not mistaken, container *can* create and return you a component which is not declared in cocoon.xconf, but it must be declared with defaul

RE: The DataSourceComponent which returning OtherConnection

2002-09-25 Thread Geoff Howard
I think components have to be declared in cocoon.xconf in order for the container to initialize them, or even to find them. There are currently two ways of doing this: creating an entry in .roles, or declaring it using generic syntax in cocoon.xconf. Since I think the first requires rebuilding c

RE: The DataSourceComponent which returning OtherConnection

2002-09-25 Thread Alex Vishnev
sam did not copy me on the solution, can you forward me his answer? -Original Message-From: Hiloliddin Karimov [mailto:[EMAIL PROTECTED]]Sent: Tuesday, September 24, 2002 7:17 AMTo: Cocoon-UsersSubject: The DataSourceComponent which returning OtherConnection Hi All,

RE: The DataSourceComponent which returning OtherConnection

2002-09-25 Thread JohnsBrn
There are 2 files you need to modify to add a component: cocoon.xconf and user.roles. Checkout cocoon.roles in the org.apache.cocoon source directory to see the format to use for the user.roles files (goes in WEB-INF directory), as I think it doesn't exist by default. Hiloliddin Karimov <[EM