Reinhard Poetz/Stefano Mazzocchi wrote
> Carsten Ziegeler wrote:
> > Isn't it possible to use the usual Composable stuff?
>
> What do you mean with "... the usual composable stuff"?
>
Sorry, this was perhaps a little bit too short, ok:
Cocoon is based on components. If a component needs a Compone
On Tuesday, Jan 14, 2003, at 06:18 US/Pacific, Ugo Cei wrote:
Carsten Ziegeler wrote:
cocoon.environment.getComponentManager() should do the trick. Haven't
tested it though.
I warn you using the method above, because it's an internally used
method
which should not be access from own component
> > > Is there any way for me to get access to the component-manager within
> > > the flow layer?
> >
> > cocoon.environment.getComponentManager() should do the trick. Haven't
> > tested it though.
> >
Try "cocoon.componentManager.lookup(...)" to access the component manager.
> I warn you using
Carsten Ziegeler wrote:
Ugo Cei wrote:
Mats Norén wrote:
Hi,
I´ve been looking at the code for the flow layer and I have a couple of
questions:
Is there any way for me to get access to the component-manager within
the flow layer?
cocoon.environment.getComponentManager() should do the trick.
Thanks! That worked as well. Weird though that the performance was
substantially slower... :)
Ugo Cei wrote:
A brief look at the API docs for the JSCocoon class reveals that you
should be able to access the manager as a property of the "cocoon"
object, as in:
var manager = cocoon.compone
Carsten Ziegeler wrote:
I warn you using the method above, because it's an internally used method
which should not be access from own components.
Ok.
Isn't it possible to use the usual Composable stuff?
Hmm..not sure I follow you. :)
What I was after is a Container of some sort for the A
Carsten Ziegeler wrote:
cocoon.environment.getComponentManager() should do the trick. Haven't
tested it though.
I warn you using the method above, because it's an internally used method
which should not be access from own components.
Isn't it possible to use the usual Composable stuff?
A brief
Ugo Cei wrote:
>
> Mats Norén wrote:
> > Hi,
> > I´ve been looking at the code for the flow layer and I have a couple of
> > questions:
> >
> > Is there any way for me to get access to the component-manager within
> > the flow layer?
>
> cocoon.environment.getComponentManager() should do the trick
Mats Norén wrote:
Hi,
I´ve been looking at the code for the flow layer and I have a couple of
questions:
Is there any way for me to get access to the component-manager within
the flow layer?
cocoon.environment.getComponentManager() should do the trick. Haven't
tested it though.
Ugo
--
Ugo