Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3814

Java 8 default interface methods not recognized as managed bean properties in EL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.5.0
    • Fix Version/s: 8.5.2
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.5.2 S1, ZK 8.5.2 S2

      Description

      Steps to Reproduce

      1. run the attached zul

      Current Result

      org.zkoss.zel.PropertyNotFoundException: Property 'name' not found on type support.mvvm.BaseEmployee

      Expected Result

      EL can access name property

      Root Cause

      Workaround

      • @init(e.getName())
      1. BaseEmployee.java
        0.5 kB
        hawk
      2. IEmployee.java
        0.2 kB
        hawk
      3. interface-default.zul
        0.3 kB
        hawk

        Activity

        Hide
        JamesChu JamesChu added a comment -

        Fixed since 2018/06/15

        Show
        JamesChu JamesChu added a comment - Fixed since 2018/06/15

          People

          • Assignee:
            rudyhuang rudyhuang
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 4 hours Original Estimate - 4 hours
              4h
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 6 hours
              6h

                Agile