webtier@glassfish.java.net

Re: [webtier] Re: How to avoid _at_PostConstruct on page Faces beans during postback?

From: <webtier_at_javadesktop.org>
Date: Tue, 14 Apr 2009 11:09:27 PDT

Hi Ryan,
There is no cross-bean injection scenario in this simple use case. I cannot think of why myFB should be instantiated besides the references in rendered attributes of UI components of my.jsp view, which I do have. I'm assuming this is what is happening in the restore view phase?
Can you please confirm whether this is expected JSF behavior to do that on a commandLink to another bean?
If so, could you please explain why JSF feels the need to re-instantiate myFB to execute rendered conditions in this scenario?
If not, are you suggesting that I have some other type of reference to myFB than rendered?
[Message sent by forum member 'bouteill' (bouteill)]

http://forums.java.net/jive/thread.jspa?messageID=342127