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

petemuir do-not-reply at jboss.com
Tue Jun 19 04:55:21 EDT 2007


"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



More information about the jboss-user mailing list