Envisage ZK 6.0: Rendering List and Tree Model with Templates"

From Documentation
m
Line 1: Line 1:
 
{{Template:Smalltalk_Author|
 
{{Template:Smalltalk_Author|
|author=Tom Yeh, Architect, Potix Corporation
+
|author=Tom Yeh, Potix Corporation
 
|date=July 20, 2011
 
|date=July 20, 2011
 
|version=ZK 5.1
 
|version=ZK 5.1
Line 9: Line 9:
  
 
=The Story=
 
=The Story=
 +
Before 5.1, [[ZK Developer's Reference/MVC/View|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=
 
=What Is Template=
 
=Listbox Model Rendering with Template=
 
=Listbox Model Rendering with Template=

Revision as of 09:49, 20 July 2011

DocumentationSmall Talks2011JulyEnvisage ZK 6.0: Rendering List and Tree Model with Templates
Envisage ZK 6.0: Rendering List and Tree Model with Templates

Author
Tom Yeh, Potix Corporation
Date
July 20, 2011
Version
ZK 5.1

WarningTriangle-32x32.png This page is under construction, so we cannot guarantee the accuracy of the content!

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.