[
https://issues.jboss.org/browse/WFLY-6939?page=com.atlassian.jira.plugin....
]
James Perkins reopened WFLY-6939:
---------------------------------
Assignee: James Perkins (was: jaikiran pai)
This seems to require an import, which may be correct, of the constant class in order for
this to work. It also does not work with inner classes,
https://developer.jboss.org/thread/273323.
Usage of static fields from java.lang classes as EL expressions in
JSPs doesn't work
------------------------------------------------------------------------------------
Key: WFLY-6939
URL:
https://issues.jboss.org/browse/WFLY-6939
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 10.0.0.Final, 10.1.0.CR1
Reporter: jaikiran pai
Assignee: James Perkins
Fix For: 10.1.0.Final, 11.0.0.Alpha1
Java EE7 (which supports EL 3.0 spec) allows JSPs to use EL expressions like:
{code}
<html>
<body>
foo: --- ${Boolean.TRUE} ---<br>
bar: --- ${Integer.MAX_VALUE} ---<br>
</body>
</html>
{code}
However, the {code}${Boolean.TRUE}{code} and {code}${Integer.MAX_VALUE}{code} in the
above example aren't evaluated correctly and instead a blank string is rendered for
them.
More details in the linked forum thread
https://developer.jboss.org/thread/271825
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)