[jbossseam-issues] [JBoss JIRA] Reopened: (JBSEAM-1353) SeamExpressionFactory breaks custom ExpressionFactories

Mike Quilleash (JIRA) jira-events at lists.jboss.org
Thu Jun 7 13:16:11 EDT 2007


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

Mike Quilleash reopened JBSEAM-1353:
------------------------------------

             
Just tried the latest CVS and still getting the same problem.  I've traced it to this line in SeamApplication.

   @Override
   public ExpressionFactory getExpressionFactory()
   {
      //JBoss EL
      return SeamExpressionFactory.INSTANCE;
   }

which is always returning the Jboss EL factory and not wrapping the expression factory of the wrapped application.  I believe this should be changed to

   @Override
   public ExpressionFactory getExpressionFactory()
   {
      return new SeamExpressionFactory( application.getExpressionFactory() );
   }


> SeamExpressionFactory breaks custom ExpressionFactories
> -------------------------------------------------------
>
>                 Key: JBSEAM-1353
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1353
>             Project: JBoss Seam
>          Issue Type: Bug
>          Components: EL
>    Affects Versions: 1.3.0.ALPHA
>         Environment: Any
>            Reporter: Mike Quilleash
>         Assigned To: Gavin King
>            Priority: Blocker
>             Fix For: 1.3.0.ALPHA
>
>         Attachments: expressionfactory.patch
>
>
> Trying out the current CVS and the modifications to the SeamExpressionFactory have broken my application.  In the old version SeamExpressionFactory used to wrap the ExpressionFactory facelets would've created by default (getApplication().getExpressionFactory()) but now it just wraps a jboss EL ExpressionFactory.
> I have a custom ExpressionFactory which i need to create custom ValueExpressions in certain circumstances.  The above change circumvents my ExpressionFactory when facelets is compiling.

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