Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

[jboss-user] [JBoss Seam] - Re: Conversation - setting and getting

scott.stark@jboss.org

2007-06-19


"urosmil" wrote : 1) is it possible to set conversation scope in faces-config.xml; in the same way as for session scope: <managed-bean-scope>session</managed-bean-scope>

No. And a bean declared in faces-config.xml isn't a Seam component.

anonymous wrote : 2) how go get conversation scoped bean through java code, as it's possible for session scoped bean:

Contexts.lookupInStatefulContexts("foo") or Contexts.getConversationContext().get("foo")

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055506#4055506

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055506
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.