webtier@glassfish.java.net

Re: Error accessing _at_ManagedProperty in JSF2.0 across _at_ManagedBeans

From: <webtier_at_javadesktop.org>
Date: Mon, 19 Jul 2010 14:11:16 PDT

> It works with JSF 2.0.2 also only change is it needs
> both Getter and Setter methods for ID in Class B
>
> Issue still in 2.0.2 and 2.1.0 is
>
> 1. When user hit backbutton and change a different
> value for ID (in text box its updating A) but its not
> propagating to ID Class B (Class B ID still has old
> value).
>
> I will log this as a defect.

But that would not be a defect, but expected behavior. B has already been instantiated and is in the session so there is no reason for JSF to create it again or change the values of its properties.
[Message sent by forum member 'raydecampo']

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