ZK Studio Installation Guide

Charles Pao, Engineer, Potix Corporation
Last Update: November 04, 2008

Prerequisites

Eclipse 3.3.2 Europa with WTP plugin installed
Eclipse 3.4.1 Ganymede with WTP plugin installed


Abstract

This Installation Guide describes the procedures to install ZK Studio either by using Eclipse Plugin Update Mechanism to install online, or by using downloaded site.zip file to do offline install, and associated uninstall procedures.

The update site URL:

http://studioupdate.zkoss.org/studio/update


Installation

Please follow the installation guide according to the Eclipse IDE you use:

Eclipse 3.3 (Europa)

Eclipse 3.4 (Ganymede)


Besure to take a look at New feature of ZK Studio 0.9, and we are glad of your opinions!
Please post suggestions or report bugs to our sourceforge web site or our forum.

Comments
 
Bernd
2008-08-28

Hi,
what are the new features ?
Greetings
bernd

Marcos de Sousa
2008-08-28

+1

Waiting support Ganymede.
Then,
Waiting visual editor :-).

Tommaso
2008-08-29

I'm waiting for MyEclipse support...

Joe
2008-08-29

Great! but when is going to be available for Eclipse 3.4 ???

junior
2008-08-31

Testing it

zk 3.5 Tabbox Bug
2008-09-02

<window >
<style>
tr.myodd td.z-row-inner, tr.myodd {
background-color: #E4EBF8;
}
.myimg {
margin: 5px; border: 10px solid #B0C75E;
}
div.z-column-content {
text-align: center; font-weight: bold;
}
div.z-row-content span {
font-family: Tahoma,Arial,serif;
color: #0E3A99;
}
</style>
<zscript>
String[][] datas = new String[][]{
// Today
new String[]{"SourceForge.net","[zk1 - Help] RE: ZK problem in dynamic menu","2008/4/29 15:47:27","12KB"},
new String[]{"SourceForge.net","[zk1 - Help] RE: FileUpload","2008/4/29 15:37:57","14KB"},
new String[]{"SourceForge.net","[zk1 - Help] RE: Datebox format","2008/4/29 15:27:31","11KB"},
new String[]{"SourceForge.net","[zk1 - Help] FileUpload","2008/4/29 14:07:25","11KB"},
new String[]{"SourceForge.net","[zk1 - General] RE: Opening more than one new browser window","2008/4/29 13:44:17","12KB"},
// Yesterday
new String[]{"SourceForge.net","[zk1 - Help] RE: SelectedItemConverter Question","2008/4/28 13:31:12","14KB"},
new String[]{"SourceForge.net","[zk1 - Help] RE: Times_Series Chart help","2008/4/28 13:26:37","14KB"},
new String[]{"SourceForge.net","[zk1 - Help] RE: SelectedItemConverter Question","2008/4/28 10:14:27","14KB"},
// Sunday
new String[]{"SourceForge.net","[zk1 - General] RE: Opening more than one new browser window","2008/4/27 13:44:17","12KB"},
new String[]{"SourceForge.net","[zk1 - Help] RE: SelectedItemConverter Question","2008/4/27 13:31:12","14KB"},
new String[]{"SourceForge.net","[zk1 - Help] RE: Times_Series Chart help","2008/4/27 13:26:37","14KB"},
};
</zscript>

<menubar id="menubar" autodrop="true"><menu label="File" >
<menupopup>
<menuitem label="New" onClick="alert(self.label)"/>
<menuitem label="Open" onClick="alert(self.label)"/>
<menuitem label="Save" onClick="alert(self.label)"/>
<menuseparator/>
<menuitem label="Exit" onClick="alert(self.label)"/>
</menupopup>
</menu><menu label="Option">
<menupopup>
<menuitem label="Simple" autocheck="true"/>
<menuitem label="Rich" autocheck="true"/>
</menupopup>
</menu><menu label="Help">
<menupopup>
<menuitem label="Index" onClick="alert(self.label)"/>
<menu label="About">
<menupopup>
<menuitem label="About ZK" onClick="alert(self.label)"/>
<menuitem label="About Potix" onClick="alert(self.label)"/>
</menupopup>
</menu>
</menupopup>
</menu></menubar>
<tabbox >
<tabs >
<tab label="Tab 1" />
<tab label="Tab 2" closable="true"/>
</tabs>
<tabpanels>
<tabpanel>

<listbox fixedLayout="true"
oddRowSclass="">
<listhead sizable="true">
<listheader width="150px"
label="From" sort="auto" />
<listheader label="Subject"
sort="auto" />
<listheader width="150px"
label="Received" sort="auto" />
<listheader width="50px"
label="Size" sort="auto" />
</listhead>
<listgroup>
<listcell
label="Date:Today " />
<listcell label="" />
<listcell label="" />
<listcell label="" />
</listgroup>
<listitem forEach="${datas}"
forEachBegin="0" forEachEnd="4" sclass="cells">
<listcell label="${each[0]}"
image="/img/mail_read.png" style="padding-left: 10px" />
<listcell
label="${each[1]}" />
<listcell
label="${each[2]}" />
<listcell
label="${each[3]}" />
</listitem>
<listgroupfoot>
<listcell label="5 emails"
style="padding-left: 10px" />
<listcell label="zk1" />
<listcell label="2008/4/29" />
<listcell label="60KB" />
</listgroupfoot>
<listgroup label="Date:Yesterday" />
<listitem forEach="${datas}"
forEachBegin="5" forEachEnd="7" sclass="cells">
<listcell label="${each[0]}"
image="/img/mail_read.png" style="padding-left: 10px" />
<listcell
label="${each[1]}" />
<listcell
label="${each[2]}" />
<listcell
label="${each[3]}" />
</listitem>
<listgroupfoot>
<listcell label="3 emails"
style="padding-left: 10px" />
<listcell label="zk1" />
<listcell label="2008/4/28" />
<listcell label="42KB" />
</listgroupfoot>
<listgroup label="Date:Sunday" />
<listitem forEach="${datas}"
forEachBegin="8" forEachEnd="10" sclass="cells">
<listcell label="${each[0]}"
image="/img/mail_read.png" style="padding-left: 10px" />
<listcell
label="${each[1]}" />
<listcell
label="${each[2]}" />
<listcell
label="${each[3]}" />
</listitem>
<listgroupfoot>
<listcell label="3 emails"
style="padding-left: 10px" />
<listcell label="zk1" />
<listcell label="2008/4/27" />
<listcell label="40KB" />
</listgroupfoot>
</listbox>

</tabpanel>
<tabpanel>
This is panel 2 The second panel
</tabpanel>
</tabpanels>
</tabbox>
</window>

Charles Pao
2008-09-03

Please post bug to forum, thanks.

tester
2008-09-07

I'm using ZK Studio on Eclipse 3.4 now and I think it works fine.

Mr. S
2008-09-15

Works functionally with Ganymede, but Code and Content assist does not work.
Would be nice to see the next release incorporate ZK 3.5.0 as well.

JH
2008-09-17

I install 0.82 on Ganymede as instruction above.
Tomcat 6.0.18 wont start up, said time out over 45 sec.
Uninstall 0.82 solve the problem

Env. setup
PowerBook G4 1.5G 15"
1G Ram
Mac OS X 10.4.11
Java 1.5
Eclipse 3.4
Tomcat 6.0.18

content assist seems working, other functions not test

How can I provide more detail for troubleshooting this problem or file a bug?

Tomcat logs in Ganymede Console does not have any error, it just starting and stop with a dialog says time out.

JH
2008-09-17

I install 0.82 on Ganymede as instruction above.
Tomcat 6.0.18 wont start up, said time out over 45 sec.
Uninstall 0.82 solve the problem

Env. setup
PowerBook G4 1.5G 15"
1G Ram
Mac OS X 10.4.11
Java 1.5
Eclipse 3.4
Tomcat 6.0.18

content assist seems working, other functions not test

How can I provide more detail for troubleshooting this problem or file a bug?

Tomcat logs in Ganymede Console does not have any error, it just starting and stop with a dialog says time out.

hks
2008-09-21

hopefully there is for NetBeans... I Idea ....

henri
2008-09-22

You can post to feature request but I doubt we have resource on that :(.

JH
2008-09-27

Problem disappear after reinstall update version list below.

Eclipse:
Version: 3.4.1
Build id: M20080911-1700

Java for Mac OS X 10.4, Release 7
This release updates J2SE 5.0 to version 1.5.0_16 and Java 1.4 to version
1.4.2_18.

ZK Studio 0.82 looks ok now.

Chandni Radia
2008-09-30

Hello!!!

I have installed zk on eclipse as instructions given above, but the thing is when I create a page(*.ZUL) doesn't appear on my browser!

Example:
If I write anything between <zk> </zk> doesn't come out on my browser, but if I put outside the zk tag, that will appear on my browser!

Could someone tell me why this is happening?And if it's related to zk intallation?

Thank u!!

aloxc
2008-10-07

it is very good....

loverus
2008-10-26

I follow the install instruction for Eclipse 3.4, and
the visual editor only show the following message

HTTP ERROR: 404
NOT_FOUND
RequestURI=/hosting.html

Powered by Jetty://

What is the problem,

Dennis
2008-11-04

I think you used a freshly version, and it is not well tested.
Anyway, could you show us the screen shoot of the eclipse in zk forum?

Tian
2008-11-07

貌似这个东西很好

Fredrik
2008-11-07

I have the same problem as loverus.
The only thing shown in the editor is:

HTTP ERROR: 404
NOT_FOUND
RequestURI=/error.html

Powered by Jetty://

MARTOSFRE
2008-11-12

Since many months that i haven't reviewed the site.....i am very happy that ZK has a IDE.....right now my developments will be more quickly

Thanks in advance...god bless us

Pedro
2008-11-18

I have the same problem as loverus and Fredrik
The only thing shown in the zul visual editor is:

HTTP ERROR: 404
NOT_FOUND
RequestURI=/error.html

Powered by Jetty://

Dennis
2008-11-19

a freshly version ready , it has fixed the 404 bug.

http://www.zkoss.org/forum/index.zul#path%3DlistComment%3BdiscussionId%3D6250%3BcategoryId%3D18%3B

abhijit
39 minutes ago

please any one help me !!!!!!!! I have use Tomcat 6.0
with ZK FrameWORK +Struct Framework
Whenever I am Deploying the application
The BLANK SCREEN IS COMING I AM UNABLE TO UNDERSTAND THE PROBLEM
THE TOMCAT LOG CONTAINS
Using CATALINA_BASE: D:\setups\apache-tomcat-6.0.18\apache-tomcat-6.0.18
Using CATALINA_HOME: D:\setups\apache-tomcat-6.0.18\apache-tomcat-6.0.18
Using CATALINA_TMPDIR: D:\setups\apache-tomcat-6.0.18\apache-tomcat-6.0.18\temp
Using JRE_HOME: D:\Program Files\Java\jdk1.5.0_15
Dec 1, 2008 9:52:51 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Program Files\Java\jdk1.5.0_15\bin;.;C:\WINDOWS\system32;C:\WINDOWS;D:\Program Files;D:\Program Files\bin
Dec 1, 2008 9:52:51 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 1, 2008 9:52:51 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 371 ms
Dec 1, 2008 9:52:51 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 1, 2008 9:52:51 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18
Dec 1, 2008 9:52:52 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(D:\NetBeans\MyProject\build\web\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class
Dec 1, 2008 9:52:52 PM org.zkoss.zk.ui.sys.ConfigParser parse:60
INFO: Parsing jndi:/localhost/MyProject/WEB-INF/zk.xml
Dec 1, 2008 9:52:52 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders checkVersion:225
INFO: Ignore jar:file:/D:/NetBeans/MyProject/build/web/WEB-INF/lib/zkex.jar!/metainfo/zk/config.xml
Cause: ZK version must be 3.0.5 or later, not [S@15ac3c9
Dec 1, 2008 9:52:53 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:448
WARNING: Component jasperreport ignored. Reason: unable to load org.zkoss.zkex.zul.Jasperreport.
[SYS jar:file:/C:/pdxworkingon/webApplication/build/web/WEB-INF/lib/zkex.jar!/metainfo/zk/lang-addon.xml line 78 col 13]
>>java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRExporterParameter
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:242)
>> at org.zkoss.lang.Classes.forNameByThread(Classes.java:199)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.locateClass(DefinitionLoaders.java:532)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:446)
>>...
Dec 1, 2008 9:52:53 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:476
WARNING: Component jasperreport ignored. Reason: override a non-existent component jasperreport.
[SYS jar:file:/C:/pdxworkingon/webApplication/build/web/WEB-INF/lib/zkmax.jar!/metainfo/zk/lang-addon.xml line 406 col 13]
Dec 1, 2008 9:52:53 PM com.sun.ws.rest.api.core.ClasspathResourceConfig init
INFO: Scanning for root resource and provider classes in the paths:
C:\pdxworkingon\webApplication\build\web\WEB-INF\lib
C:\pdxworkingon\webApplication\build\web\WEB-INF\classes
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
Dec 1, 2008 9:52:56 PM com.sun.ws.rest.impl.application.WebApplicationImpl processRootResources
SEVERE: The ResourceConfig instance does not contain any root resource classes.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
Dec 1, 2008 9:52:57 PM org.apache.struts.tiles.TilesPlugin initDefinitionsFactory
INFO: Tiles definition factory loaded for module ''.
Dec 1, 2008 9:52:57 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Dec 1, 2008 9:52:57 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
Dec 1, 2008 9:52:58 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:448
WARNING: Component jasperreport ignored. Reason: unable to load org.zkoss.zkex.zul.Jasperreport.
[SYS jar:file:/C:/ZKProject/build/web/WEB-INF/lib/zkex.jar!/metainfo/zk/lang-addon.xml line 78 col 13]
>>java.lang.NoClassDefFoundError: net/sf/jasperreports/engine/JRExporterParameter
>> at java.lang.Class.forName0(Native Method)
>> at java.lang.Class.forName(Class.java:242)
>> at org.zkoss.lang.Classes.forNameByThread(Classes.java:199)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.locateClass(DefinitionLoaders.java:532)
>> at org.zkoss.zk.ui.metainfo.DefinitionLoaders.parseLang(DefinitionLoaders.java:446)
>>...
Dec 1, 2008 9:52:58 PM org.zkoss.zk.ui.metainfo.DefinitionLoaders parseLang:476
WARNING: Component jasperreport ignored. Reason: override a non-existent component jasperreport.
[SYS jar:file:/C:/ZKProject/build/web/WEB-INF/lib/zkmax.jar!/metainfo/zk/lang-addon.xml line 406 col 13]
Dec 1, 2008 9:52:58 PM com.sun.ws.rest.api.core.ClasspathResourceConfig init
INFO: Scanning for root resource and provider classes in the paths:
C:\ZKProject\build\web\WEB-INF\lib
C:\ZKProject\build\web\WEB-INF\classes
Dec 1, 2008 9:53:00 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIterator hasNext
WARNING: A dependent class, javax/mail/MessagingException, of the class com.sun.ws.rest.impl.provider.entity.MimeMultipartProvider implementing the provider interface javax.ws.rs.ext.MessageBodyReader is not found. The provider implementation is ignored.
Dec 1, 2008 9:53:00 PM com.sun.ws.rest.spi.service.ServiceFinder$AbstractLazyIterator hasNext
WARNING: A dependent class, javax/mail/MessagingException, of the class com.sun.ws.rest.impl.provider.entity.MimeMultipartProvider implementing the provider interface javax.ws.rs.ext.MessageBodyWriter is not found. The provider implementation is ignored.
log4j:WARN No appenders could be found for logger (org.apache.struts.util.PropertyMessageResources).
log4j:WARN Please initialize the log4j system properly.
Dec 1, 2008 9:53:00 PM com.sun.ws.rest.impl.application.WebApplicationImpl processRootResources
SEVERE: The ResourceConfig instance does not contain any root resource classes.
Dec 1, 2008 9:53:00 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive chat.war
Dec 1, 2008 9:53:00 PM org.zkoss.zk.ui.sys.ConfigParser parse:60
INFO: Parsing jndi:/localhost/chat/WEB-INF/zk.xml
Dec 1, 2008 9:53:00 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive chattr.war
Dec 1, 2008 9:53:00 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive jasperreport_demo.war
Dec 1, 2008 9:53:01 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 1, 2008 9:53:01 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Dec 1, 2008 9:53:01 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/15 config=null
Dec 1, 2008 9:53:01 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 10001 ms

 
 
Leave a Reply
 
Name (required)
Mail (will not be published) (required)
Website
(Case Insensitive)
Bold textItalic textUnderLine textSource CodeHorizontal rulerExternal Link
Post
Preview