You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org> on 2010/09/02 13:13:55 UTC

[jira] Created: (TRINIDAD-1902) Provide FacesContext for configuration tasks

Provide FacesContext for configuration tasks
--------------------------------------------

                 Key: TRINIDAD-1902
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1902
             Project: MyFaces Trinidad
          Issue Type: Improvement
    Affects Versions: 2.0.0.3-core
            Reporter: Jakob Korherr
            Assignee: Jakob Korherr


MYFACES-2906 shows that Trinidad does not provide a FacesContext for code which normally runs at a time at which a FacesContext is available.

The solution is to provide a Pseudo-FacesContext which implements some useful tasks and to set this one as the current instance while configuration is done.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-1902) Provide FacesContext for configuration tasks

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakob Korherr resolved TRINIDAD-1902.
-------------------------------------

    Fix Version/s: 2.0.0.3-core
       Resolution: Fixed

> Provide FacesContext for configuration tasks
> --------------------------------------------
>
>                 Key: TRINIDAD-1902
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1902
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions: 2.0.0.3-core
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 2.0.0.3-core
>
>
> MYFACES-2906 shows that Trinidad does not provide a FacesContext for code which normally runs at a time at which a FacesContext is available.
> The solution is to provide a Pseudo-FacesContext which implements some useful tasks and to set this one as the current instance while configuration is done.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-1902) Provide FacesContext for configuration tasks

Posted by "Jakob Korherr (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-1902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12905478#action_12905478 ] 

Jakob Korherr commented on TRINIDAD-1902:
-----------------------------------------

This fix is a first solution for this problem.

For the long term it would be better to provide an own (Config-)FacesContext which allows more tasks then the current PseudoFacesContext for the whole filter.

> Provide FacesContext for configuration tasks
> --------------------------------------------
>
>                 Key: TRINIDAD-1902
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1902
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>    Affects Versions: 2.0.0.3-core
>            Reporter: Jakob Korherr
>            Assignee: Jakob Korherr
>             Fix For: 2.0.0.3-core
>
>
> MYFACES-2906 shows that Trinidad does not provide a FacesContext for code which normally runs at a time at which a FacesContext is available.
> The solution is to provide a Pseudo-FacesContext which implements some useful tasks and to set this one as the current instance while configuration is done.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.