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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.5.2
    • 8.5.0
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.5.2 S1, ZK 8.5.2 S2

      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
        2. IEmployee.java
          0.2 kB
        3. interface-default.zul
          0.3 kB

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

              Created:
              Updated:
              Resolved:

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