Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17987

Bogus syntax warning for EL 3.0 list literal

    XMLWordPrintable

Details

    Description

      Assume you have an XHTML page that contains a JSF tag, and you want to use the EL 3.0 list literal to set an attribute on that tag, e.g.

      <my:tag someListProperty="#{[1, 2, 3]}"/>
      

      The syntax is valid, but JBT reports the warning "EL syntax error: Expecting expression."

      Attachments

        Activity

          People

            scabanovich Viacheslav Kabanovich (Inactive)
            rdicroce Richard DiCroce (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: