ZK8 Wizard Example - Part 4 final"

From Documentation
Line 24: Line 24:
  
 
== Render the UI in Bootstrap style ==
 
== Render the UI in Bootstrap style ==
 +
 +
=== Page/Wizard layout ===
 +
 +
=== Basket layout ===
 +
 +
=== Form layout ===
 +
 +
=== Add some Responsiveness ===
  
 
== Leverage Bootstrap's JS API ==
 
== Leverage Bootstrap's JS API ==

Revision as of 11:00, 8 March 2016

Documentationobertwenzel
obertwenzel

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

Introduction

To wrap up the Wizard Example Series here the final Part showing how things finally fit together when applying a 3rd party framework layout - namely Bootstrap - to the previous implementation.

The implementation decisions/techniques used in the previous chapters now become handy. The strict separation between view and viewModel code enables the style overhaul without touching any of the ViewModel Java code. The major task is to adjust the various zul pages and templates to render the markup required by Bootstrap.

Here a recording of the results (descriptions of the most significant changes will follow below):

Adding the Bootstrap resources

Render the UI in Bootstrap style

Page/Wizard layout

Basket layout

Form layout

Add some Responsiveness

Leverage Bootstrap's JS API

Summary

That's it for now, any ideas what to show next? Waiting for your comments.

Download

Running the Example

Checkout part-4

   git checkout part-4

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/wizardexample/order.zul


Comments



Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.