geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan-Kees van Andel (JIRA)" <>
Subject [jira] Created: (GERONIMO-5543) Geronimo Jasper EL doesn't convert enum parameters in method expressions
Date Sat, 21 Aug 2010 11:57:15 GMT
Geronimo Jasper EL doesn't convert enum parameters in method expressions

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

                        <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector">

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.HomepageBean@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.

View raw message