Envisage ZK 6.0: Rendering List and Tree Model with Templates
From Documentation
Author
Tom Yeh, Potix Corporation
Tom Yeh, Potix Corporation
Date
July 20, 2011
July 20, 2011
Version
ZK 5.1
ZK 5.1
The Story
Before 5.1, the custom renderer must be implemented in Java. It is the most powerful since you could do anything with Java. However, in many cases, it is tedious since an additional Java class have to create and maintain and it is more about View than Control in MVC terminologies.
With 5.1, a concept called template is introduced. It allows UI designers to specify templates right in a ZUML page, and then the model can be rendered based on the template without any Java code.
What Is Template
Listbox Model Rendering with Template
Grid Model Rendering with Template
Tree Model Rendering with Template
Using Template in Application
Download
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |