[jboss-jira] [JBoss JIRA] Created: (JBAS-8374) EL parsing fails for no-arg method call.

Stan Silvert (JIRA) jira-events at lists.jboss.org
Tue Aug 31 09:22:11 EDT 2010


EL parsing fails for no-arg method call.
----------------------------------------

                 Key: JBAS-8374
                 URL: https://jira.jboss.org/browse/JBAS-8374
             Project: JBoss Application Server
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Web (Tomcat) service
    Affects Versions: 6.0.0.M4
            Reporter: Stan Silvert
            Assignee: Remy Maucherat


EL expressions with params works fine.  However, if you have a no-arg method and you try to call it using parens you will get a parsing error:

This works:

<h:outputText value="ServerInfo: #{application.serverInfo}"/>

But this does not work:

<h:outputText value="ServerInfo: #{application.serverInfo()}"/>

I'm attaching a simple hello world JSF application to demonstrate the problem.  Also see forum reference.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list