You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Rogerio Pereira <ro...@gmail.com> on 2006/05/24 18:39:18 UTC

question about dependency injection

I have 3 beans: beanA, beanB and beanC.

Both beanA and beanB uses beanB (ArrayList), from beanA i only remove itens
from beanB and from beanC i add, get and set a item in beanB.

Everything is ok when beanC to these operations on beanB but if i try to
remove an item from beanA i'm getting an IndexOutOfBoundsException.

Note: i'm using saveState in beanA

I'm following this wiki entry:

http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother



-- 
Yours truly (Atenciosamente),

Rogério

Re: question about dependency injection

Posted by Rogerio Pereira <ro...@gmail.com>.
Any suggestions?

Thanks for any answer.

2006/5/24, Rogerio Pereira <ro...@gmail.com>:
>
> I have 3 beans: beanA, beanB and beanC.
>
> Both beanA and beanB uses beanB (ArrayList), from beanA i only remove
> itens from beanB and from beanC i add, get and set a item in beanB.
>
> Everything is ok when beanC to these operations on beanB but if i try to
> remove an item from beanA i'm getting an IndexOutOfBoundsException.
>
> Note: i'm using saveState in beanA
>
> I'm following this wiki entry:
>
> http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother
>
>
>
> --
> Yours truly (Atenciosamente),
>
> Rogério
>



-- 
Yours truly (Atenciosamente),

Rogério