ZK8 Features for MVC - Shadow Elements - Part 2"
From Documentation
Robertwenzel (talk | contribs) (Created page with "{{Template:Smalltalk_Author| |author=Robert Wenzel, Engineer, Potix Corporation |date=December 2016 |version=ZK 8.0 }} = Introduction = == Some background == == <forEach> usag...") |
Robertwenzel (talk | contribs) |
||
Line 6: | Line 6: | ||
= Introduction = | = Introduction = | ||
+ | |||
+ | In continuation of the previous article '''LINK ME''' I'll focus this time on the shadow element <forEach>. | ||
== Some background == | == Some background == | ||
+ | |||
+ | The intention behind <forEach> are similar to those of the <apply>. Several historically evolved mechanisms to repeat UI components with their own specific behavior and limitations needed a unified abstraction to become more versatile and layout neutral (no additional DOM elements) at the same time. | ||
+ | |||
+ | Let's look at what's been there before: | ||
+ | |||
+ | * special attribute: "forEach" '''LINK ME''' | ||
+ | * component specific (grid/listbox/combobox/tabbox) with ListModel '''LINK ME''' | ||
+ | * MVVM generalized children-binding '''LINK ME''' | ||
+ | |||
== <forEach> usages == | == <forEach> usages == |
Revision as of 06:47, 1 December 2016
Author
Robert Wenzel, Engineer, Potix Corporation
Robert Wenzel, Engineer, Potix Corporation
Date
December 2016
December 2016
Version
ZK 8.0
ZK 8.0
Introduction
In continuation of the previous article LINK ME I'll focus this time on the shadow element <forEach>.
Some background
The intention behind <forEach> are similar to those of the <apply>. Several historically evolved mechanisms to repeat UI components with their own specific behavior and limitations needed a unified abstraction to become more versatile and layout neutral (no additional DOM elements) at the same time.
Let's look at what's been there before:
- special attribute: "forEach" LINK ME
- component specific (grid/listbox/combobox/tabbox) with ListModel LINK ME
- MVVM generalized children-binding LINK ME
<forEach> usages
static usage (index, array, collection)
dynamic usage (ListModel)
Adding templates
with dynamic templates
control from java code (MVC)
Summary
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |