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

urosmil do-not-reply at jboss.com
Tue Jun 19 04:31:19 EDT 2007


Hi,

I have 2 questions:

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>

2) how go get conversation scoped bean through java code, as it's possible for session scoped bean:
MyBean myBean = (MyBean) FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("myBean" );

Thanks,
Uros!

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055495



More information about the jboss-user mailing list