Activates Data Binding Manager"

From Documentation
m
Line 1: Line 1:
{{ZKDevelopersGuidePageHeader}}
+
{{ZKDevelopersReferencePageHeader}}
  
 
Activates Data Binding Manager by defining the page Initializer at the top of the page.
 
Activates Data Binding Manager by defining the page Initializer at the top of the page.
Line 13: Line 13:
 
# Calls <tt>DataBinder.loadAll()</tt> to initiate all UI components from the associated data source.
 
# Calls <tt>DataBinder.loadAll()</tt> to initiate all UI components from the associated data source.
  
 +
=Version History=
 +
Last Update : {{REVISIONYEAR}}/{{REVISIONMONTH}}/{{REVISIONDAY}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
  
{{ ZKDevelopersGuidePageFooter}}
+
{{ZKDevelopersReferencePageFooter}}

Revision as of 04:11, 20 October 2010


Activates Data Binding Manager


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 : 2010/10/20

Version Date Content
     



Last Update : 2010/10/20

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