On Mon, Sep 7, 2009 at 10:08 AM, mitroiasi <mitroi...@yahoo.com> wrote:

>
>
> Hi,
>
> I have a question concerning the managed-bean configuration. I want to bind
> to a bean another bean. The second bean should be created first time when
> my
> application meets a reference in my jsf pages to the second bean.
>
> Is this possible or the second bean is created when the first bean is
> created?
>

If both your first bean and your second bean are managed beans, your second
bean can be created when it's referenced in the page, even if the first bean
hasn't been created yet.

---
Kito D. Mann -- Author, JavaServer Faces in Action
http://twitter.com/kito99  http://twitter.com/jsfcentral
JSF 2 Seminar Oct 6th: http://www.regonline.com/jsf2seminar
JSF Summit Conference Dec 1st-4th in Orlando: http://www.jsfsummit.com
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info
+1 203-404-4848 x3

Reply via email to