ZK8 Features for MVC - Shadow Elements - Part 1
From Documentation
Author
Robert Wenzel, Engineer, Potix Corporation
Robert Wenzel, Engineer, Potix Corporation
Date
August 2016
August 2016
Version
ZK 8.0
ZK 8.0
Introduction
some ZK8 features while designed for MVVM are also usable in MVC. e.g.:
- <forEach> shadow element (and CollectionTemplate)
- form proxies
Collection based rendering in MVC =
https://www.zkoss.org/wiki/ZK_Developer's_Reference/MVC/Controller/Wire_Components#Shadow_Selectors
CollectionTemplate
zul template =
java based template =
using ZK8 Form Proxies in MVC
simple crud template
Summary
Download
- The source code for this article can be found on github.
Running the Example
Clone the repository
git clone [email protected]:zkoss-demo/mvc-shadow.git cd mvc-shadow git checkout master
The example war file can be built with maven:
mvn clean package
Execute using jetty:
mvn jetty:run
Then access the overview page http://localhost:8080/mvc-shadow/
Comments
Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License. |