-
Bug
-
Resolution: Fixed
-
Normal
-
8.5.0
-
None
-
Security Level: Jimmy
-
None
-
ZK 8.5.2 S1, ZK 8.5.2 S2
-
None
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
- https://bugs.openjdk.java.net/browse/JDK-8071693
- https://stackoverflow.com/questions/37205642/java-8-default-interface-methods-not-recognized-as-managed-bean-properties-in-el
- https://stackoverflow.com/questions/35130290/property-not-found-on-type-when-using-interface-default-methods-in-jsp-el (includes possible approach to fix this)
Workaround
- @init(e.getName())