ZKs"

From Documentation
 
(18 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
__TOC__
 
__TOC__
  
ZKs stands for '''ZK Storage'''. It is the mechanism by which ZK studio manages file resources that ZK project or ZK studio may use.  
+
{{Notice| text=We recommend you to manage ZK jar and its depenedent libraries with a comprehensive build tool like [[ZK%20Installation%20Guide/Quick%20Start/Create%20and%20Run%20Your%20First%20ZK%20Application%20with%20Eclipse%20and%20Maven| Maven]] or [[ZK%20Installation%20Guide/Quick%20Start/Create%20and%20Run%20Your%20First%20ZK%20Application%20with%20Gradle| Gradle]].}}
  
Currently it includes:
 
  
:'''Sample Codes''': Templates of sample ZK code
+
ZKs stands for '''ZK Storage'''. It is the mechanism by which ZK studio manages ZK releases that your ZK project or ZK studio may use. You can see the contents of ZK Storage in the '''ZK Storage View'''
:'''ZK Releases''': ZK Studio's release is bundled with latest stable ZK library.
 
  
You can see the content of '''ZK Storage''' in the '''ZK Storage View'''
 
  
[[Image:zk_studio_094_storage_view.jpg]]
+
[[Image:studio-storage-view.png | center]]
  
  
== ZK Binary Distribution Management ==
+
= ZK Binary Distribution Management =
 +
== Browse & Install ZK Binary Releases Directly==
 +
 
 +
To browse and install ZK binary releases, open ZK Storage view and click '''Download and Install'''.
 +
The Storage View can be opened by clicking '''[Window]/[Show View]/[Other]''' and selecting '''ZK / ZK Storage View'''.
 +
 
 +
[[Image:studio-storage-view-download.png | center]]
 +
 
 +
Click on the icon, and the Installation dialog will popup where you can browse and select.
 +
 
 +
[[Image:studio-release-install-process.png | center | 600px]]
 +
 
 +
After clicking '''Start''', the installation process will be triggered and selected releases will appear in your ZK Storage.
 +
 
 
=== Import ZK Binary Distribution From Local File System ===
 
=== Import ZK Binary Distribution From Local File System ===
To download the latest ZK release, please visit [http://www.zkoss.org/download/zk.dsp ZK Download Page].
+
To download the latest ZK release, please visit [http://www.zkoss.org/download/zk ZK Download Page].
  
To import a ZK library from local file system, you have to open the '''ZK Storage View''' and click on the '''import''' icon to import a ZK archive (for example, zk-bin-3.6.1.zip) into ZK Storage.
+
To import a ZK release from local file system, open the '''ZK Storage View''' and click on the '''import''' icon to import a ZK archive (for example, zk-bin-3.6.1.zip) into ZK Storage.
  
The Storage View can be opened by clicking '''<nowiki>[Window]/[Show View]/[Other]</nowiki>''' and selecting '''ZK > ZK Storage View'''.
+
The Storage View can be opened by clicking '''[Window]/[Show View]/[Other]''' and selecting '''ZK / ZK Storage View'''.
  
Step1: Click the '''Import''' button in ZK Storage View.
+
Step 1: Click '''Import''' in ZK Storage View.
  
[[Image:zk_studio_094_storage_import_1.jpg]]
+
[[Image:studio-storage-view-import.png | center | 300px]]
  
Step2: Click '''File Import''' and a file dialog will appear.
+
Step 2: Click '''File Import''' and a file dialog will appear, choose the ZK archive file you have downloaded, and click '''Finish''' to import.
  
[[Image:zk_studio_094_storage_import_2.jpg]]
+
[[Image:studio-storage-view-import-dialog.png | center | 450px]]
  
Step3: Choose the ZK archive file you want, then click '''Open'''.
 
  
[[Image:zk_studio_094_storage_import_3.jpg]]
+
Step 3: You can see that the imported ZK release appears under "ZK Releases" item.
  
Step4: Click '''Finish'''
+
[[Image:studio-storage-view-import-result.png | center | 450px]]
  
[[Image:zk_studio_094_storage_import_4.jpg]]
+
To remove a ZK release, simply right click on it and click '''Delete a Package'''.
  
Step5: You can see that the ZK archive is imported into '''ZKs'''.
+
[[Image:studio-storage-view-delete.png | center | 450px]]
  
[[Image:zk_studio_094_storage_import_5.jpg]]
+
=== Configure ZK Binary Distribution ===
 +
In '''ZK/ZK Packages''' of Eclipse preference page (select the menu '''[Window]/[Preference]'''), you can select default package on the list of "Installed ZKs" for a ZK web application you will create later. ZK Studio will automatically choose the latest version of those imported ZK Packages as the default package. You can remove unwanted ZK package by selecting the row in '''ZK Package''' then click '''Remove'''.
  
To remove a ZK library, simply right click on it and click delete.
+
[[Image:studio-preference-package.png | center | 600px]]
  
[[Image:zk_studio_094_remove_zk_lib.JPG]]
 
  
=== Configure ZK Binary Distribution ===
 
In ZK Packages preferences page, you can check the check box of the imported ZK Packages on the ZK Package list as the default ZK library for any ZK Web application you will create later. If you don't select anyone as a default ZK library, ZK Studio will automatically choose the latest version of those imported ZK Packages.
 
  
[[Image:GlobalPreference_ZKPackages.png]]
 
  
You can remove unwanted ZK package in ZK Packages preferences page in Preferences Window by select the row in ZK Package then click Remove.
 
  
 
{{ZKStudioEssentialsPageFooter}}
 
{{ZKStudioEssentialsPageFooter}}

Latest revision as of 09:14, 14 September 2017


Icon info.png Notice: We recommend you to manage ZK jar and its depenedent libraries with a comprehensive build tool like Maven or Gradle.


ZKs stands for ZK Storage. It is the mechanism by which ZK studio manages ZK releases that your ZK project or ZK studio may use. You can see the contents of ZK Storage in the ZK Storage View


Studio-storage-view.png


ZK Binary Distribution Management

Browse & Install ZK Binary Releases Directly

To browse and install ZK binary releases, open ZK Storage view and click Download and Install. The Storage View can be opened by clicking [Window]/[Show View]/[Other] and selecting ZK / ZK Storage View.

Studio-storage-view-download.png

Click on the icon, and the Installation dialog will popup where you can browse and select.

Studio-release-install-process.png

After clicking Start, the installation process will be triggered and selected releases will appear in your ZK Storage.

Import ZK Binary Distribution From Local File System

To download the latest ZK release, please visit ZK Download Page.

To import a ZK release from local file system, open the ZK Storage View and click on the import icon to import a ZK archive (for example, zk-bin-3.6.1.zip) into ZK Storage.

The Storage View can be opened by clicking [Window]/[Show View]/[Other] and selecting ZK / ZK Storage View.

Step 1: Click Import in ZK Storage View.

Studio-storage-view-import.png

Step 2: Click File Import and a file dialog will appear, choose the ZK archive file you have downloaded, and click Finish to import.

Studio-storage-view-import-dialog.png


Step 3: You can see that the imported ZK release appears under "ZK Releases" item.

Studio-storage-view-import-result.png

To remove a ZK release, simply right click on it and click Delete a Package.

Studio-storage-view-delete.png

Configure ZK Binary Distribution

In ZK/ZK Packages of Eclipse preference page (select the menu [Window]/[Preference]), you can select default package on the list of "Installed ZKs" for a ZK web application you will create later. ZK Studio will automatically choose the latest version of those imported ZK Packages as the default package. You can remove unwanted ZK package by selecting the row in ZK Package then click Remove.

Studio-preference-package.png





Last Update : 2017/09/14

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