Store"

From Documentation
Line 3: Line 3:
 
===Set-up the ZK Essentials sample===
 
===Set-up the ZK Essentials sample===
 
#Go to the ZK Essentials [http://code.google.com/p/zkbooks/source/checkout http://code.google.com/p/zkbooks/source/checkout] or [http://zkbooks.googlecode.com/svn/trunk/zkessentials/store/ http://zkbooks.googlecode.com/svn/trunk/zkessentials/store/] , and checkout the source using svn. This will put the store source code into a folder named zkessentials-store.
 
#Go to the ZK Essentials [http://code.google.com/p/zkbooks/source/checkout http://code.google.com/p/zkbooks/source/checkout] or [http://zkbooks.googlecode.com/svn/trunk/zkessentials/store/ http://zkbooks.googlecode.com/svn/trunk/zkessentials/store/] , and checkout the source using svn. This will put the store source code into a folder named zkessentials-store.
#Create a new ZK project: ''File > New > Others... > ZK > ZK Project''
+
#Create a new ZK project: ''File > New > Others... > ZK > ZK Project'' and click '''Next'''.
 
#:[[Image:ZKEssentials_Setup_NewProj.png]]
 
#:[[Image:ZKEssentials_Setup_NewProj.png]]
#Enter project name and specify the ZK package to use for this project
+
#Enter project name and specify the ZK package to use for this project. And Click '''Finish'''.
 
#:[[Image:ZKEssentials_Setup_CreateProj.png]]
 
#:[[Image:ZKEssentials_Setup_CreateProj.png]]
#Import the sample code by right clicking the project and select ''Import''
+
#Import the sample code by right clicking the project and select ''Import> Import...''
#Choose import from ''File System''
+
#Choose import from ''File System'' under a folder called ''General''. Click '''Next'''.
 
#:[[Image:ZKEssentials_Setup_ImportFileSystem.png]]
 
#:[[Image:ZKEssentials_Setup_ImportFileSystem.png]]
#Select the folder containing the sample code and click "Ok" to import:
+
#Click '''Browse''' for the '''From directory''' field. Select the folder containing the sample code and click '''OK'''. And then click '''Finish''' in the Import dialog window to import.
 
#:[[Image:ZKEssentials_Setup_ImportSample.png]]
 
#:[[Image:ZKEssentials_Setup_ImportSample.png]]
 
#Click ''Yes'' to over write the files: index.zul and web.xml
 
#Click ''Yes'' to over write the files: index.zul and web.xml

Revision as of 04:39, 22 June 2011

Stop.png This article is out of date, please refer to http://books.zkoss.org/zkessentials-book/master/ for more up to date information.


Set-up the ZK Essentials sample

  1. Go to the ZK Essentials http://code.google.com/p/zkbooks/source/checkout or http://zkbooks.googlecode.com/svn/trunk/zkessentials/store/ , and checkout the source using svn. This will put the store source code into a folder named zkessentials-store.
  2. Create a new ZK project: File > New > Others... > ZK > ZK Project and click Next.
    ZKEssentials Setup NewProj.png
  3. Enter project name and specify the ZK package to use for this project. And Click Finish.
    ZKEssentials Setup CreateProj.png
  4. Import the sample code by right clicking the project and select Import> Import...
  5. Choose import from File System under a folder called General. Click Next.
    ZKEssentials Setup ImportFileSystem.png
  6. Click Browse for the From directory field. Select the folder containing the sample code and click OK. And then click Finish in the Import dialog window to import.
    ZKEssentials Setup ImportSample.png
  7. Click Yes to over write the files: index.zul and web.xml
    ZKEssentials Setup OverwriteFiles.png



Last Update : 2011/06/22

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