[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1309) Hook Faces Application.createValueBinding / createMethodBinding so that the Expression Language enhancements are available to all bindings created

Gavin King (JIRA) jira-events at lists.jboss.org
Fri May 18 21:18:06 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-1309?page=comments#action_12362592 ] 
            
Gavin King commented on JBSEAM-1309:
------------------------------------

This is only in 1.3 (ie. CVS).

> Hook Faces Application.createValueBinding / createMethodBinding so that the Expression Language enhancements are available to all bindings created
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-1309
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1309
>             Project: JBoss Seam
>          Issue Type: Feature Request
>    Affects Versions: 1.2.1.GA
>            Reporter: Chris Rudd
>
> Currently the expression language extensions are only available from facelets views. If the Faces Application is hooked into then the createMethodBinding/createValueBinding can be extended to support the extensions as well.
> The issue is that currently you cannot do this :
> FacesContext.getCurrentInstance().getApplication().createValueBinding("#{s:hasPermission('g','g',null)}");
> Likewise if you are in a faces request this also failes (due to it delegating to the facesContext)
> Expressions.instance().createValueBinding("#{s:hasPermission('g','g',null)}");

-- 
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