org.zkoss.bind.defaultComposer.class

From Documentation
Revision as of 10:05, 13 May 2022 by Jameschu (talk | contribs) (Created page with " {{ZKConfigurationReferencePageHeader}} '''Property:''' org.zkoss.bind.defaultComposer.class {{GlobalLibraryProperty}} Default: <i>org.zkoss.bind.BindComposer</i> {{version...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


org.zkoss.bind.defaultComposer.class


Property: org.zkoss.bind.defaultComposer.class

Applicable:
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 -->
</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>



Last Update : 2022/05/13

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