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

Chris Rudd (JIRA) jira-events at lists.jboss.org
Wed May 9 11:27:52 EDT 2007


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