RE: [Flow] getComponent(id) implementation

2003-06-27 Thread Carsten Ziegeler
Reinhard Pötz wrote: The Cocoon object of the FOM has the method Component getComponent(id) It should return any component but no sitemap components. This means we only return components defined in the roles file(s). How can we check if it is an allowed component? Any ideas? I think

Re: [Flow] getComponent(id) implementation

2003-06-27 Thread Sylvain Wallez
Carsten Ziegeler wrote: Reinhard Pötz wrote: The Cocoon object of the FOM has the method Component getComponent(id) It should return any component but no sitemap components. This means we only return components defined in the roles file(s). How can we check if it is an allowed component?

RE: [Flow] getComponent(id) implementation

2003-06-27 Thread Geoff Howard
At 05:27 AM 6/27/2003, Carsten wrote: Reinhard Pötz wrote: The Cocoon object of the FOM has the method Component getComponent(id) It should return any component but no sitemap components. This means we only return components defined in the roles file(s). How can we check if it is an

RE: [Flow] getComponent(id) implementation

2003-06-27 Thread Carsten Ziegeler
Geoff Howard wrote: Do we want to force people to edit cocoon.xconf to call their own business components from the flow? I thought Stefano proposed checking for SitemapModelComponent and disallowing it? Would that prevent looking up a transformer, but allow looking up a legitimate component

Re: [Flow] getComponent(id) implementation

2003-06-27 Thread Sylvain Wallez
Carsten Ziegeler wrote: Geoff Howard wrote: Do we want to force people to edit cocoon.xconf to call their own business components from the flow? I thought Stefano proposed checking for SitemapModelComponent and disallowing it? Would that prevent looking up a transformer, but allow looking up

Re: [Flow] getComponent(id) implementation

2003-06-27 Thread Stefano Mazzocchi
on 6/27/03 4:47 AM Sylvain Wallez wrote: Carsten Ziegeler wrote: Reinhard Pötz wrote: The Cocoon object of the FOM has the method Component getComponent(id) It should return any component but no sitemap components. This means we only return components defined in the roles file(s). How

Re: [Flow] getComponent(id) implementation

2003-06-27 Thread Geoff Howard
At 12:27 PM 6/27/2003, Sylvain wrote: Carsten Ziegeler wrote: Geoff Howard wrote: Do we want to force people to edit cocoon.xconf to call their own business components from the flow? I thought Stefano proposed checking for SitemapModelComponent and disallowing it? Would that prevent looking up

Re: [Flow] getComponent(id) implementation

2003-06-27 Thread Sylvain Wallez
Geoff Howard wrote: At 12:27 PM 6/27/2003, Sylvain wrote: Carsten Ziegeler wrote: Geoff Howard wrote: Do we want to force people to edit cocoon.xconf to call their own business components from the flow? I thought Stefano proposed checking for SitemapModelComponent and disallowing it? Would