Re: how to access JSF Managed Bean in Struts Action class

2004-09-22 Thread BaTien Duong
Craig McClanahan wrote: Managed beans are no different than any other beans with respect to scopes: * Managed beans in request scope will be created on demand once for every request * Managed beans in session scope will be created on demand once for every session * Managed beans in application scop

Re: how to access JSF Managed Bean in Struts Action class

2004-09-22 Thread Craig McClanahan
Managed beans are no different than any other beans with respect to scopes: * Managed beans in request scope will be created on demand once for every request * Managed beans in session scope will be created on demand once for every session * Managed beans in application scope will be created on dem

Re: how to access JSF Managed Bean in Struts Action class

2004-09-21 Thread BaTien Duong
Craig McClanahan wrote: On Mon, 20 Sep 2004 08:41:55 -0600, BaTien Duong <[EMAIL PROTECTED]> wrote: Just 2 quick questions from expert advise. Assuming FooBean is initialized by Faces in the session: 1) Under what cirscunstances we shoud use Faces or directly accessing the component

Re: how to access JSF Managed Bean in Struts Action class

2004-09-21 Thread Craig McClanahan
On Mon, 20 Sep 2004 08:41:55 -0600, BaTien Duong <[EMAIL PROTECTED]> wrote: > > Just 2 quick questions from expert advise. Assuming FooBean is > initialized by Faces in the session: > 1) Under what cirscunstances we shoud use Faces or directly > accessing the component under user session, as

Re: how to access JSF Managed Bean in Struts Action class

2004-09-20 Thread BaTien Duong
Craig McClanahan wrote: On Sun, 19 Sep 2004 15:44:14 +0530, ravi naraharasetty <[EMAIL PROTECTED]> wrote: Hi All, How do I access JSF Managed Bean which is in session scope into a Struts Action Class. Assume you have a managed bean named "foo" that you'd like to access, of type FooBean. Fa

Re: how to access JSF Managed Bean in Struts Action class

2004-09-20 Thread Craig McClanahan
On Sun, 19 Sep 2004 15:44:14 +0530, ravi naraharasetty <[EMAIL PROTECTED]> wrote: > Hi All, > > How do I access JSF Managed Bean which is in session scope into a > Struts Action Class. > Assume you have a managed bean named "foo" that you'd like to access, of type FooBean. FacesContext fc = F