[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-1079) Security expressions in navigation rules are broken

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Fri May 4 02:02:30 EDT 2007

     [ http://jira.jboss.com/jira/browse/JBSEAM-1079?page=all ]

Shane Bryzak closed JBSEAM-1079.

    Resolution: Done

Fixed by wrapping facesContext.getELContext() in an EvaluationContext and specifying the function mapper.

> Security expressions in navigation rules are broken
> ---------------------------------------------------
>                 Key: JBSEAM-1079
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1079
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: Security
>            Reporter: Shane Bryzak
>         Assigned To: Shane Bryzak
>             Fix For: 1.3.0.BETA1
> Due to MyFaces not supporting EL Functions, navigation rules such as the following in pages.xml throw an exception:
>     <page view-id="/home.xhtml">
>         <navigation from-action="#{identity.login}">
>             <rule if="#{s:hasRole('user')}">
>               ...

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list