Re: AW: Re: How to get container inside self written component

2015-02-17 Thread Thiago H de Paula Figueiredo
On Mon, 16 Feb 2015 18:43:18 -0200, Erich Gormann wrote: OK, I'm not experienced in the InjectContainer annotation, but it seems that one have to write it on each embedded component? Yes. I have to figure out. The original intention was that the component's container must not be menti

Re: AW: Re: How to get container inside self written component

2015-02-16 Thread Chris Mylonas
@InjectContainer is the way to go. Have a 10 minute read on the OSI 7 Layer model for data communications as a reference point if you need one. e.g. Each layer knows the layer above and below it, like parent and child. It's a proven mechanism of keeping things "encapsulated" and if you have

AW: Re: How to get container inside self written component

2015-02-16 Thread Erich Gormann
OK, I'm not experienced in the InjectContainer annotation, but it seems that one have to write it on each embedded component? I have to figure out. The original intention was that the component's container must not be mentioned anywhere, even not in an annotation. Von Samsung Mobile gesendet