Activates Data Binding Manager"
From Documentation
Line 1: | Line 1: | ||
{{ZKDevelopersReferencePageHeader}} | {{ZKDevelopersReferencePageHeader}} | ||
− | + | The Data Binding Manager can be activated by defining the page Initializer at the top of every page. | |
<source lang="xml" > | <source lang="xml" > |
Revision as of 01:26, 25 July 2011
The Data Binding Manager can be activated by defining the page Initializer at the top of every page.
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
This initiator class do following things:
- Creates an AnnotateDataBinder instance.
- Sets the AnnotateDataBinder instance as a variable with the name "binder" stored in the component as specified in arg0 "component-path".(if arg0 is not specified, use Page instead.)
- Calls DataBinder.loadAll() to initiate all UI components from the associated data source.
Version History
Version | Date | Content |
---|---|---|