Activates Data Binding Manager"
From Documentation
Line 7: | Line 7: | ||
</source> | </source> | ||
− | This initiator class | + | This initiator class does following things: |
# Creates an <tt>AnnotateDataBinder</tt> instance. | # Creates an <tt>AnnotateDataBinder</tt> instance. |
Revision as of 01:29, 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 does 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 |
---|---|---|