2 Replies Latest reply on Mar 14, 2011 8:21 PM by Karsten Wutzke

    EL expression: irregular but working or bug?

    Karsten Wutzke Expert



      I have an expression in one of my XHTML files:


      #{(seasonHome.instance.startYear + 1).toString().substring(2)}


      JBoss Tools shows me a warning right at the dot following the +1 parentheses saying:


      "EL syntax error: Expecting '}'."


      Is it a bug or coincidence that it's working? Note, that this warning appears as plain tag text or inside a tag attribute (here h:outputText).