[
https://issues.jboss.org/browse/SEAMFACES-44?page=com.atlassian.jira.plug...
]
Andrew Wheeler commented on SEAMFACES-44:
-----------------------------------------
To address that problem that "@ViewScoped annotation cannot be used on producer
methods/fields" I would suggest introducing a new scope annotation. @ViewScoped is
only permitted on types (beans). This is part of the JSF spec and may take a while to get
changed. As ViewScoped is effectively a custom scope in seam faces why not control the
scope annotation. I would suggest org.jboss.seam.faces.PageScoped to avoid confusion.
Perhaps seam could continue to support ViewScoped as an alias to PageScoped on managed
beans.
View scope problems, feature needs review
-----------------------------------------
Key: SEAMFACES-44
URL:
https://issues.jboss.org/browse/SEAMFACES-44
Project: Seam Faces
Issue Type: Bug
Affects Versions: 3.0.0.Alpha3
Environment: glassfish v3.0.1
Reporter: Aleksandar Pejovic
Fix For: 3.1.0.Final
Attachments: viewscoped-problem.zip
1.View scope should behave like normal scope, but client proxies aren't being used.
2.View scoped beans should be passivation capable, but the container isn't enforcing
that.
3.@ViewScoped annotation cannot be used on producer methods/fields.
More detailed description is available on a forum:
http://seamframework.org/Community/SeamfacesViewScopeProblems
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira