Activates Data Binding Manager"

From Documentation
Line 1: Line 1:
 
{{ZKDevelopersReferencePageHeader}}
 
{{ZKDevelopersReferencePageHeader}}
  
Activates Data Binding Manager by defining the page Initializer at the top of the page.
+
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


Activates Data Binding Manager


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:

  1. Creates an AnnotateDataBinder instance.
  2. 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.)
  3. Calls DataBinder.loadAll() to initiate all UI components from the associated data source.

Version History

Last Update : 2011/07/25


Version Date Content
     



Last Update : 2011/07/25

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