Runnable codes speak louder than static code snippets.
This repository contains example source code used in ZK documentations including:
- ZK Developer's Reference
- ZK Component Reference
- ZK MVVM Reference
- ZK Client-side Reference
- ZK Style Customization Guide
-
componentreference/
— Example code for ZK Component Reference documentation -
developersreference/developersreference/
— Example code for ZK Developer's Reference -
developersreference/integration.cdi/
- Example code for ZK Developer's Reference / Integration / CDI -
developersreference/integration.ejb/
- Example code for ZK Developer's Reference / Integration / EJB -
developersreference/integration.hibernate/
- Example code for ZK Developer's Reference / Integration / Hibernate -
developersreference/integration.jpa/
- Example code for ZK Developer's Reference / Integration / JPA -
developersreference/integration.spring/
- Example code for ZK Developer's Reference / Integration / Spring -
mvvmreference/
— Example code for ZK MVVM Reference. -
clientreference/
— Example code for ZK Client-side Reference. -
mymodule/
— Example code for a reusable module -
styleguide/
— Example code for ZK Style Customization Guide -
csp-filter/
— Example code for ZK Developer's Reference / Security Tips / Content Security Policy / Enhancing Security with Strict-Dynamic
Each project has a Maven jetty plugin configured, just run the goal below:
mvn jetty:run
- Notice: Each project is a Maven project, so you need to install Maven first to run.
Folder is named by a chapter or a subsection.
- chapter name -
eventHandling
- subsection name -
mvc/controller
a zul file is named by a page
e.g. , eventQueue.zul
is for Use Event Queues
master - for the latest ZK
componentreference/
: components, UI, ZK componentsdevelopersreference/
: developer guide, backend, architecture,- mvc, model-view-controller, controller, view, model
- integration, CDI, EJB, Hibernate, JPA, Spring, JDBC, datasource, font-awesome
- security, CSP, content security policy, XSS, HTML escape, widget accessibility
- performance, ROD (Render on Demand), cache, stubonly, client performance, optimization
- event handling, event queue, event listening, desktop events, chat events
- utilities, browser detection, logging
- testing, test tips
- debugging, error message, desktop debugging
- theming, theme preview, theme switch
- accessibility, label-input, accessible widgets
- internationalization, i18n, locale, labels, messages, timezone
- responsive design, mobile, adaptive UI
- server push, async update
- advanced, module, META-INF
mvvmreference/
: MVVM pattern, data binding, shadow component, View Modelclientreference/
: client-side, JavaScript, client API