[
https://jira.jboss.org/jira/browse/JBSEAM-3524?page=com.atlassian.jira.pl...
]
David Spindle commented on JBSEAM-3524:
---------------------------------------
The code below gives a NULL facesContext for me when run in Seam 2.0.2.SP1
@Name("appStart")
@Scope(ScopeType.APPLICATION)
@Startup
public class AppStart {
@In FacesContext facesContext;
...
Make FacesContext available on session-startup in SeamTest
----------------------------------------------------------
Key: JBSEAM-3524
URL:
https://jira.jboss.org/jira/browse/JBSEAM-3524
Project: Seam
Issue Type: Feature Request
Affects Versions: 2.0.2.SP1
Reporter: Tobias Hill
On JBoss AS the facesContext is initialized and available at startup time of session
scoped components. Hence it can be injected and used from a @Create annotated method.
In SeamTest however facesContext is injected as null.
See link to forum for more details.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira