This content has been marked as final.
Show 1 reply
-
1. Re: Can I get objects from my seam contexts?
ssilvert Sep 5, 2008 9:23 AM (in response to zaplitny)With the Beta 3 release, we added support for Seam conversation scope. There is nothing extra to configure.
To get a managed in any context, you use the expression language.@Name("myBean") @Scope(ScopeType.CONVERSATION) public class Bean implements Serializable { }
JSFSession jsfSession = new JSFSession("/mypage.seam"); JSFServerSession server = jsfSession.getJSFServerSession(); Object conversationScopeBean = server.getManagedBeanValue("#{myBean}");
Stan