[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-3524) Make FacesContext available on session-startup in SeamTest

David Spindle (JIRA) jira-events at lists.jboss.org
Mon Oct 27 14:26:20 EDT 2008


    [ https://jira.jboss.org/jira/browse/JBSEAM-3524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12435610#action_12435610 ] 

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

        



More information about the seam-issues mailing list