On Thu, 2008-01-03 at 22:13 -0600, Ole Ersoy wrote: > Hi, > > I'd like to have a phase listener that retrieves the backing bean updated > during a post. Is there a handle exposing it generically (Type Object) > somewhere...?
There is no concept of "the" backing bean for a view in JSF. A view can have many associated beans, or none. You can access an arbitrary bean by name using the "looup" techniques described here: http://wiki.apache.org/myfaces/AccessingOneManagedBeanFromAnother However the problem remains of deciding what bean name to retrieve. There isn't any standard answer for that. Depending on *why* you want to do this, the Apache Shale view controller framework might be worth looking at; it looks for a managed bean with a name that "matches" the viewId. The MyFaces Orchestra view controller does something similar. Regards, Simon

