myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Wessendorf" <mat...@apache.org>
Subject Re: Replacing expression factory
Date Sat, 09 Aug 2008 10:30:22 GMT
On Sat, Aug 9, 2008 at 11:28 AM, Christian Kaltepoth <lists@kaltepoth.de> wrote:
> On Thursday 07 August 2008 12:08:00 XMaNIaC wrote:
>> Hi,
>>
>> In JSF-RI you can:
>>
>> <context-param>
>>    <param-name>com.sun.faces.expressionFactory</param-name>
>>    <param-value>org.jboss.el.ExpressionFactoryImpl</param-value>
>> </context-param>
>>
>> to use JBOSS-EL and have method invocation. Is this possible in MyFaces?
>>
>> Regards
>
> Very interesting question. I just did some code research to find out if
> there is some possibility to define a custom ExpressionFactory implementation.
>
> I found the context parameter 'org.apache.myfaces.EXPRESSION_FACTORY'.
> But to my surprise this parameter is only evaluated in a JSP 2.0 environment.
> It was introduced in order to make MyFaces 1.2.x work with JSP 2.0. See
> MYFACES-1693 for details.
>
> I think it would be a great improvement for MyFaces to support this parameter
> in a JSP 2.1 environment as well. This feature would allow to use other EL
> implementations like JBoss EL.

+1
Christian, can you create a jira ticket for such an enhancement?

Greetings,
Matthias

>
> See:
>
> http://www.ilikespam.com/blog/el-function-parameters-with-jboss-el
>
>



-- 
Matthias Wessendorf

Need JSF and Web 2.0?
http://code.google.com/p/facesgoodies

further stuff:
blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
mail: matzew-at-apache-dot-org

Mime
View raw message