Sample Code Wizard

From Documentation
Sample Code Wizard




Stop.png This documentation is for an older version of ZK. For the latest one, please click here.

The Sample Code Wizard aims to help new ZK developers learn how to implement ZK quickly by providing well organized examples. You can open the Sample Code Wizard by clicking [File]/[New]/[Other] and selecting ZK > ZK Sample Code. Alternatively you can [Right click on the target project]/[New]/[Other] and select ZK > ZK Sample Code.

Currently, ZK studio provides 5 categories of sample code

  • Basic Samples
  • Application Samples
  • Data Samples
  • Layout Samples
  • jQuery Samples


To add a sample code to target project, you can follow the steps below:

Zk studio 094 sample code 1.JPG

You may change the generated filename, and target folder, or just use the default value.

Zk studio 094 sample code 2.JPG

After selection, the zul files, java files and related resources are added to the target project.

Zk studio 094 sample code 3.JPG

Why not give it a try? It is a great way to learn! In the future ZK studio will provide a mechanism for users to add their own sample code, we welcome and appreciate any contributions you want to make!



Last Update : 2013/09/23

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