[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1774) org.jboss.seam.core.Contexts factories put *Context components into application scope
Matt Drees (JIRA)
jira-events at lists.jboss.org
Wed Aug 15 19:33:18 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-1774?page=comments#action_12372392 ]
Matt Drees commented on JBSEAM-1774:
------------------------------------
It works. However, the factories aren't marked autoCreate, so you need
@In(create=true) Context conversationContext;
instead of simply
@In Context conversationContext;
I believe the second line worked fine in Seam 1.2.
> org.jboss.seam.core.Contexts factories put *Context components into application scope
> -------------------------------------------------------------------------------------
>
> Key: JBSEAM-1774
> URL: http://jira.jboss.com/jira/browse/JBSEAM-1774
> Project: JBoss Seam
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.0.BETA1
> Environment: cvs
> Reporter: Matt Drees
> Assigned To: Pete Muir
> Priority: Critical
> Fix For: 2.0.0.CR1
>
>
> The factories in org.jboss.seam.core.Contexts do not specify the Stateless scope, so when calling #{sessionContext}, for example, it gets cached in the application scope.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list