Implementing Data Binding

From Documentation
Revision as of 09:15, 22 October 2010 by Sphota (talk | contribs)

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.

ZKEssentials DataBinding OrdersView.png

How Data Binding and Controller Work Together