org.zkoss.bind.defaultComposer.class
Property:
org.zkoss.bind.defaultComposer.class
Applicable:
-
globally in
zk.xml
via<library-property>
-
not as
<custom-attribute>
Default: org.zkoss.bind.BindComposer
Auto apply the composer when a component setting viewModel
without apply
.
For example:
<div viewModel="org.zkoss.TestViewModel" >
<!-- other components -->
</div>
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 -->
</div>