Re: doubt about scopes

2013-12-12 Thread Anthony Fryer
Could it be because you're using JSF managed beans instead of CDI? -- View this message in context: http://openejb.979440.n4.nabble.com/doubt-about-scopes-tp4666709p4666726.html Sent from the OpenEJB User mailing list archive at Nabble.com.

Re: doubt about scopes

2013-12-12 Thread Howard W. Smith, Jr.
On Wed, Dec 11, 2013 at 3:28 PM, Leonardo K. Shikida shik...@gmail.comwrote: JSF and Filter use different sessions? How can I access the same object from both contexts, for the same logged user?

doubt about scopes

2013-12-11 Thread Leonardo K. Shikida
Hi I have two MBs, MB1 and MB2 MB2 is SessionScoped MB1 is ViewScoped Both are JSF ManagedBeans MB1 injects MB2 via @ManagedProperty(value=#{mB2}) private MB2 mB2; public void setMB2(MB2 mB2) { this.mB2 = mB2; } Now, I have a filter that also gets MB2

Re: doubt about scopes

2013-12-11 Thread Romain Manni-Bucau
No same session but filter is called before jsf (which is just a servlet) Cant it be a lifecycle issue on your side? Le 11 déc. 2013 21:29, Leonardo K. Shikida shik...@gmail.com a écrit : Hi I have two MBs, MB1 and MB2 MB2 is SessionScoped MB1 is ViewScoped Both are JSF ManagedBeans