How to access one managed-bean from another managed-bean?

2006-02-14 Thread Mike Duffy
This is a good FAQ: http://www.jsffaq.com/Wiki.jsp?ptitle=How+to+access+one+managed-bean+from+another+managed-bean%3F&page=HowToAccessOneManagedBeanFromAnotherManagedBean However, the solutions seem to require that both beans be in session scope. Let's say I have a form page that

Re: How to access one managed-bean from another managed-bean?

2006-02-14 Thread Dave Brondsema
Use their 3rd solution (). For any of the solutions they discuss, beans can be in any scope. They just used 'session' as an example. Mike Duffy wrote: > This is a good FAQ: > > http://www.jsffaq.com/Wiki.jsp?ptitle=How+to+access+one+managed-bean+from+another+m

Re: How to access one managed-bean from another managed-bean?

2006-02-14 Thread Dudu
he managed beanOn 2/14/06, Dave Brondsema < [EMAIL PROTECTED]> wrote:Use their 3rd solution (). For any of the solutions they discuss, beans can be in any scope.  Theyjust used 'session' as an example.Mike Duffy wrote:> This is a good FAQ:>> http://www.jsffaq.com/Wiki.jsp?pt

Re: How to access one managed-bean from another managed-bean?

2006-02-14 Thread Craig McClanahan
On 2/14/06, Dave Brondsema <[EMAIL PROTECTED]> wrote: Use their 3rd solution ().That would be my general recommendation at well. For any of the solutions they discuss, beans can be in any scope.  Theyjust used 'session' as an example.But, this needs to be clarified a bit.  You cannot inject a refe