Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8374

EL parsing fails for no-arg method call.

    XMLWordPrintable

Details

    Description

      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.

      Attachments

        Activity

          People

            rmaucher Remy Maucherat
            ssilvert@redhat.com Stan Silvert
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: