[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-1089) Allow extended EL method expression construction programmatically

Mike Quilleash (JIRA) jira-events at lists.jboss.org
Wed Mar 21 13:43:48 EDT 2007


Allow extended EL method expression construction programmatically
-----------------------------------------------------------------

                 Key: JBSEAM-1089
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1089
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: JSF
    Affects Versions: 1.1.6.GA
         Environment: Any
            Reporter: Mike Quilleash


The enhanced EL parser for method parameters is not available programmatically.

e.g.

facesContext.getApplication().getExpressionFactory().createMethodExpression( "#{bean.func( param )}" );

This is because the expression factory is only loaded into the facelets compiler not the JSF application.  As Seam already has an overriden Application implementation (SeamApplication12) it should be trivial to change this so getExpressionFactory() returns the SeamExpressionFactory which would delegate down to the default getExpressionFactory().  Then the enhanced EL would be available in the API as well as facelets files.  (Facelets just calls Application.getExpressionFactory() so this should work as it did before).

This would be extremely useful for me as I do a fair bit of dynamic component/EL generation.


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