myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Petracek (JIRA)" <...@myfaces.apache.org>
Subject [jira] Resolved: (EXTCDI-154) it should be possible to inject view-access-scoped beans in an access-decision-voter
Date Wed, 09 Mar 2011 18:48:59 GMT

     [ https://issues.apache.org/jira/browse/EXTCDI-154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gerhard Petracek resolved EXTCDI-154.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9.4

> it should be possible to inject view-access-scoped beans in an access-decision-voter
> ------------------------------------------------------------------------------------
>
>                 Key: EXTCDI-154
>                 URL: https://issues.apache.org/jira/browse/EXTCDI-154
>             Project: MyFaces CODI
>          Issue Type: Bug
>            Reporter: Gerhard Petracek
>            Assignee: Gerhard Petracek
>            Priority: Trivial
>             Fix For: 0.9.4
>
>
> an AccessDecisionVoter also gets invoked during the navigation process. during the navigation
process existing view-access-scoped beans are valid in any case.
> however, the navigation process has to be completed before all information for the view-access
scope is valid again. so it isn't not possible to use view-accessed scoped beans in an AccessDecisionVoter.
> workaround:
> set the new view-id manually before accessing view-access scoped beans

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message