Vue combinée Vue Plate Arborescence
Sujets [ Précédent | Suivant ]
toggle
Jan Tošovský
JBoss-EL in portlet demos
12 décembre 2012 05:23
Réponse

Jan Tošovský

Rang: Expert

Publications: 287

Date d'inscription: 22 juillet 2010

Publications Récentes

Dear All,

in http://www.liferay.com/community/liferay-projects/liferay-faces/demos page there is used JBoss EL implementation. Is it mandatory? I couldn't find it in current Maven repositories. Can I use this one instead?

1<dependency>
2   <groupId>org.glassfish.web</groupId>
3   <artifactId>el-impl</artifactId>
4   <version>2.2</version>
5</dependency>

with these changes in the web.xml file
1<context-param>
2    <param-name>com.sun.faces.expressionFactory</param-name>
3    <param-value>com.sun.el.ExpressionFactoryImpl</param-value>
4</context-param>       

?

Thanks, Jan
Neil Griffin
RE: JBoss-EL in portlet demos
15 décembre 2012 14:24
Réponse

Neil Griffin

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1986

Date d'inscription: 26 juillet 2005

Publications Récentes

You should be able to use the reference implementation of EL, so it is not mandatory to use JBoss-EL. The reason why JBoss-EL is used in the Liferay Faces demo portlets is because JBoss-EL supports passing parameters. While it is true that newer versons of the reference implementation support this feature, I *think* it only works with newer implementations of the Servlet API (like Servlet 3.0 / Tomcat 7). The Liferay Faces demo portlets sometimes pass parameters via EL and need to work in Tomcat 6 as well.
Jan Tošovský
RE: JBoss-EL in portlet demos
12 février 2014 05:35
Réponse

Jan Tošovský

Rang: Expert

Publications: 287

Date d'inscription: 22 juillet 2010

Publications Récentes

Just for future reference, when the following repository is specified:
1<repositories>       
2   <repository>
3      <id>jboss-releases</id>
4      <url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
5   </repository>
6</repositories>

the jboss-el can be defined this way:
1<dependency>
2   <groupId>org.jboss.el</groupId>
3   <artifactId>jboss-el</artifactId>
4   <version>2.0.1.GA</version>
5</dependency>
Neil Griffin
RE: JBoss-EL in portlet demos
20 mars 2014 11:23
Réponse

Neil Griffin

LIFERAY STAFF

Rang: Liferay Legend

Publications: 1986

Date d'inscription: 26 juillet 2005

Publications Récentes

I just wanted to mention that we created FACES-1892 in order to investigate an Upgrade of our 4.x branches from JBoss-EL to Unified-EL 2.2.
Jan Tošovský
RE: JBoss-EL in portlet demos
31 mars 2014 01:21
Réponse

Jan Tošovský

Rang: Expert

Publications: 287

Date d'inscription: 22 juillet 2010

Publications Récentes

Btw, in my Liferay instance running on tomcat 7 I don't specify any EL library at all so that tomcat's default is used. I haven't encounter any related issues yet. But my portlet are quite simple.