-
Bug
-
Resolution: Unresolved
-
Critical
-
None
-
8.0.1
-
None
When using ZK7.x , I can return a subclass instance to form binding, and then add property binding programmingly, like below.
binder.addPropertySaveBindings(tb, "value", "fx." + propertyName, null, null, null, null, null, null, null); binder.addPropertyLoadBindings(tb, "value", "fx." + propertyName, null, null, null, null, null);
But in the latest ZK8, It was broken:
17:03:15.046 [http-bio-8888-exec-10] ERROR org.zkoss.zk.ui.impl.UiEngineImpl -
org.zkoss.zel.PropertyNotFoundException: Property 'accountNo' not found on type net.zkbc.aitou.master.entity.ParamTree_$$_jvst1fa_30
at org.zkoss.zel.BeanELResolver$BeanProperties.get(BeanELResolver.java:442) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.BeanELResolver$BeanProperties.access$300(BeanELResolver.java:392) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.BeanELResolver.property(BeanELResolver.java:565) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.BeanELResolver.getValue(BeanELResolver.java:100) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:66) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.CompositeELResolver.getValue(CompositeELResolver.java:66) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.xel.zel.XelELResolver.getValue(XelELResolver.java:99) ~[zcommon-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.xel.zel.BindELResolver.getValue(BindELResolver.java:117) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.impl.parser.AstValue.getValue(AstValue.java:188) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zel.impl.ValueExpressionImpl.getValue(ValueExpressionImpl.java:184) ~[zel-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zkmax.bind.impl.ValueExpressionImplEx.getValue(ValueExpressionImplEx.java:64) ~[zkmax-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.xel.zel.ELXelExpression.evaluate(ELXelExpression.java:41) ~[zcommon-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx$LazyBindXelExpression.evaluate(BindEvaluatorXImplEx.java:124) ~[zkmax-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.zkmax.bind.impl.BindEvaluatorXImplEx.parseExpressionX(BindEvaluatorXImplEx.java:205) ~[zkmax-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.impl.AccessInfo.create(AccessInfo.java:71) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.impl.PropertyBindingImpl.<init>(PropertyBindingImpl.java:67) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.impl.SavePropertyBindingImpl.<init>(SavePropertyBindingImpl.java:54) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.impl.BinderImpl.newSavePropertyBinding(BinderImpl.java:950) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.impl.BinderImpl.addPropertySaveBindings0(BinderImpl.java:1138) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at org.zkoss.bind.impl.BinderImpl.addPropertySaveBindings(BinderImpl.java:820) ~[zkbind-8.0.1.1-Eval.jar:8.0.1.1]
at net.zkbc.aitou.master.ctrl.ParamTreeCtrl.prepareDynamicFormBinding(ParamTreeCtrl.java:220) ~[bin/:na]