-
Bug
-
Resolution: Won't Fix
-
Normal
-
None
-
8.0.0
-
None
-
None
-
ZK 8.0.1
With ZK8, we're told to not apply the BindComposer to an element having the viewModel property defined, as ZK handles that automatically. In case, we have set our own composer, the BindComposer isn't applied. In case we add the BindComposer as well, we are notified with a warning not to apply it manually.
Problematic code is in Parser:
if (apply != null && apply.indexOf("org.zkoss.bind.BindComposer") != -1) { //Warnning log.warn(message("If the attribute of viewModel is being used, then \"org.zkoss.bind.BindComposer\" will be applied automatically", el)); } else if (apply == null || apply.length() == 0){ //ZK-2763: only auto apply "BindComposer" when the attribute "apply" isn't used. compInfo.setApply("org.zkoss.bind.BindComposer"); }