From Documentation


Property: org.zkoss.bind.defaultComposer.class

Dndsmalltalk-check-icon.png globally in zk.xml via <library-property>
Dndsmalltalk-cross-icon.png not as <custom-attribute>
Default: org.zkoss.bind.BindComposer

Since 10.0.0

Auto apply the composer when a component setting "viewModel" without "apply".

For example:

<div viewModel="org.zkoss.TestViewModel" >
    <!-- other components -->

If the library property is set (ex. "org.zkoss.TestBindComposer") , the above ZUL is equivalent to:

<div apply="org.zkoss.TestBindComposer" viewModel="org.zkoss.TestViewModel" >
    <!-- other components -->

Last Update : 2022/05/13

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.