JBoss Community

EL expression: irregular but working or bug?

created by Karsten Wutzke in JBoss Tools - View the full discussion

Hello,

 

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).

 

Karsten

Reply to this message by going to Community

Start a new discussion in JBoss Tools at Community