Geronimo Jasper EL doesn't convert enum parameters in method expressions
------------------------------------------------------------------------
Key: GERONIMO-5543
URL: https://issues.apache.org/jira/browse/GERONIMO-5543
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: Tomcat
Environment: Embedded within maven-jetty-run-exploded plugin
Reporter: Jan-Kees van Andel
I'm using the Geronimo Tomcat libraries to add Unified EL support to my
maven-jetty-run-exploded. My configuration looks like this:
<plugin>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>7.0.1.v20091125</version>
<configuration>
<connectors>
<connector
implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">
<port>8181</port>
</connector>
</connectors>
<webAppConfig>
<contextPath>/html5parleys</contextPath>
</webAppConfig>
</configuration>
<dependencies>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>jsp-api</artifactId>
<version>2.2</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-el_2.2_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.ext.tomcat</groupId>
<artifactId>jasper-el</artifactId>
<version>7.0.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-2.1-glassfish</artifactId>
<version>9.1.1.B60.25.p2</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jsp-api-2.1</artifactId>
</exclusion>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>start</artifactId>
</exclusion>
<exclusion>
<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-annotations</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</plugin>
Note that I use the Geronimo EL libraries. Furthermore, I use the latest
MyFaces version.
I have a method on my backing bean (HomepageBean), with the following signature:
public String viewThumbnails(Filter filter, Filter.Type filterType, int index);
And I refer to it, using the following expression:
#{homepageBean.viewThumbnails('FEATURED', 'PRESENTATION', 0)}
But when the expression is resolved, I get the following error:
/index.xhtml at line 45 and column 193
action="#{homepageBean.viewThumbnails('LATEST', 'PRESENTATION', 0)}": Method
not found:
com.parleys.server.frontend.web.html5.beans.homepageb...@6b5f7b.viewthumbnails(java.lang.String,
java.lang.String, java.lang.Long)
So it looks like it doesn't recognize the enums.
It works in GlassFish, but I'm not sure if this is some non-standard EL
syntax...
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.