el-spec
  1. el-spec
  2. EL_SPEC-16

Static fields and methods are evaluated to null in Facelets

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:

      GF4.0, JSF2.2

      Description

      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]}

        Activity

        Hide
        mdzaebel added a comment - - edited

        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

        Show
        mdzaebel added a comment - - edited 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

          People

          • Assignee:
            Unassigned
            Reporter:
            marfous
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: