But I don't want to inject another bean. When I talk about components I mean view components in the model component; e.g. refer to an HtmlInputText from another HtmlOutputText.

The problem I have is that I need to refer to the value of one component from another one in code, and both of them are dynamically created in the same backing bean.

2006/1/19, Mario Ivankovits <[EMAIL PROTECTED]>:
Hi Enrique!

But this is what Simon tries to show you.
Its possible to inject the other bean instance or to look it up through
the context.

Ciao,
Mario
> Hi Simon,
>
> I mean accesing one component to another from inside the same bean
>
> 2006/1/19, Simon Kitching <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>>:
>
>     http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother
>     < http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother>
>
>     On Thu, 2006-01-19 at 12:57 +0100, Enrique Medina wrote:
>     > Anyone can give me some hints on how to refer from one component to
>     > another using EL, or maybe when creating the components dynamically
>     > through code?
>
>
>


--
Mario


Reply via email to