Activates Data Binding Manager"

From Documentation
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{ZKDevelopersReferencePageHeader}}
+
#REDIRECT [[ZK Developer's Reference/MVVM/Data Binding]]
 
 
The Data Binding Manager can be activated by defining the page Initializer at the top of every page.
 
 
 
<source lang="xml" >
 
<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
 
</source>
 
 
 
This initiator class does the following things:
 
 
 
# Creates an <tt>AnnotateDataBinder</tt> 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.)
 
# Calls <tt>DataBinder.loadAll()</tt> to initiate all UI components from the associated data source.
 
 
 
=Version History=
 
{{LastUpdated}}
 
{| border='1px' | width="100%"
 
! Version !! Date !! Content
 
|-
 
| &nbsp;
 
| &nbsp;
 
| &nbsp;
 
|}
 
 
 
{{ZKDevelopersReferencePageFooter}}
 

Latest revision as of 03:58, 10 February 2012