Activates Data Binding Manager"

From Documentation
m
m (correct highlight (via JWB))
 
Line 12: Line 12:
 
This initiator class do following things:
 
This initiator class do following things:
  
# Creates an <tt>AnnotateDataBinder</tt> instance.
+
# Creates an <code>AnnotateDataBinder</code> instance.
# Sets the <tt>AnnotateDataBinder</tt> instance as a variable with the name "''binder''" stored in the component as specified in <tt>arg0</tt> "component-path".(if arg0 is not specified, use <tt>Page</tt> instead.)
+
# Sets the <code>AnnotateDataBinder</code> instance as a variable with the name "''binder''" stored in the component as specified in <code>arg0</code> "component-path".(if arg0 is not specified, use <code>Page</code> instead.)
# Calls <tt>DataBinder.loadAll()</tt> to initiate all UI components from the associated data source.
+
# Calls <code>DataBinder.loadAll()</code> to initiate all UI components from the associated data source.
  
 
=Version History=
 
=Version History=

Latest revision as of 10:39, 19 January 2022

Stop.png This documentation is for an older version of ZK. For the latest one, please click here.

Activates Data Binding Manager


Stop.png This documentation is for an older version of ZK. For the latest one, please click here.


Activates Data Binding Manager by defining the page Initializer at the top of the 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 : 2022/01/19


Version Date Content
     



Last Update : 2022/01/19

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