ZK8 Features for MVC - Shadow Elements - Part 1"

From Documentation
m (Created page with "{{Template:Smalltalk_Author| |author=Robert Wenzel, Engineer, Potix Corporation |date=August 2016 |version=ZK 8.0 }} {{Template:UnderConstruction}} = Introduction = some ZK8 ...")
 
Line 25: Line 25:
  
 
== Download ==
 
== Download ==
* The source code for this article can be found on [https://github.com/zkoss-demo/mvc-shadow github (branch: part-4)].
+
* The source code for this article can be found on [https://github.com/zkoss-demo/mvc-shadow github].
  
 
== Running the Example ==
 
== Running the Example ==

Revision as of 09:12, 22 August 2016

DocumentationSmall Talks2016OctoberZK8 Features for MVC - Shadow Elements - Part 1
ZK8 Features for MVC - Shadow Elements - Part 1

Author
Robert Wenzel, Engineer, Potix Corporation
Date
August 2016
Version
ZK 8.0

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


Introduction

some ZK8 features while designed for MVVM are also usable in MVC. e.g.:

  • <forEach> shadow element (and CollectionTemplate)
  • form proxies

using forEach in MVC

using Form Proxies in MVC

Creating a 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.