el-spec icon indicating copy to clipboard operation
el-spec copied to clipboard

Static fields and methods are evaluated to null in Facelets

Open glassfishrobot opened this issue 12 years ago • 3 comments

When I use static field or method within Facelet, it's value is evaluated to null.

Example:

{Integer.MAX_VALUE}

{Integer.toHexString(16)}

Or this shows in the rendered page that result of the static call was null

{[0, 1, Integer.MAX_VALUE]}

Environment

GF4.0, JSF2.2

glassfishrobot avatar Sep 01 '13 14:09 glassfishrobot

Reported by marfous

glassfishrobot avatar Sep 01 '13 14:09 glassfishrobot

mdzaebel said: As static fields (and enum) access cover a significant part of the Spec I wonder why this is not commented or assigned to anyone. Is this problem already fixed or has it a workaround or are we all wrong?

Environment: GF4.0, JSF2.2, EL 3.0, Win7

glassfishrobot avatar Jul 10 '14 21:07 glassfishrobot

This issue was imported from java.net JIRA EL_SPEC-16

glassfishrobot avatar Apr 24 '17 07:04 glassfishrobot