Implementing Data Binding"

From Documentation
(init)
 
m
Line 2: Line 2:
  
 
==Implementing Data Binding==
 
==Implementing Data Binding==
The Product View is a good candidate for implementing data binding because its data is
+
In the previous sections, we implemented a "View-Model-Renderer" approach to populate tabular data in components (<javadoc>org.zkoss.zul.Grid</javadoc>, <javadoc>org.zkoss.zul.Listbox</javadoc>). In this section, we explore how to leverage ZK's convenient annotated data binding to achieve the same end.
 +
 
 +
===The Orders View===
 +
In the Orders View, we present users with all the records of the orders placed.
 +
 
 +
 
 +
===How Data Binding and Controller Work Together===

Revision as of 08:59, 22 October 2010

Implementing Data Binding

In the previous sections, we implemented a "View-Model-Renderer" approach to populate tabular data in components (Grid, Listbox). In this section, we explore how to leverage ZK's convenient annotated data binding to achieve the same end.

The Orders View

In the Orders View, we present users with all the records of the orders placed.


How Data Binding and Controller Work Together