ZK - Open Source Ajax Java FrameworkZK - Open Source Ajax Java Framework

Eclipse Studio on Windows 7- 64 bit/ Apache Tomcat 6.0

watfor
18 Jul 2010 09:14:54 GMT
18 Jul 2010 09:14:54 GMT

Hello,

I configured Eclipse Studio in WinXP 32 bit with Java 6 and Apache 6.0 and was able to run some sample applications.

However when using ZK Studio on my Windows 7 64 bit PC with Java 6 and Apache 6.0, I face certain issues.
The buttons/tables/labels are not rendered properly. The text on the button is not displayed, nothing happens on the onClick event.

I googled around but did not found anything conclusive. Has anyone here faced similar issues?

iantsai
19 Jul 2010 21:02:36 GMT
19 Jul 2010 21:02:36 GMT

Can you test a simple downloaded zkdemo at your Tomcat?
And, if that possible, please post your test case and use another browser+another machine to access your application to see if there's any different.

I have a customer who had the same problem because his DB setting was incorrect and such DB was take responsibility for every I18N Labels.

There's nothing ZK Studio will do to your ZK project's jar content theoretically, so such error must caused by the environment.

watfor
22 Jul 2010 05:24:53 GMT
22 Jul 2010 05:24:53 GMT

Hello,

Thanks for your reply.

My testcase/page consists of the below content in a zul file.

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="new page title" border="normal">
	<button label="new button"/>
</window>
</zk>

When I deploy this on tomcat, the button is displayed without the text. I cannot display components like labels. If I replace the above code with the below, the label is displayed.

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window title="new page title" border="normal">
	Some text!
</window>
</zk>

iantsai
25 Jul 2010 12:02:20 GMT
25 Jul 2010 12:02:20 GMT

Please test this:

1. download ZK 5.0.3 Demo from this link:
http://sourceforge.net/projects/zk1/files/ZK/zk-5.0.3/zk-demo-5.0.3.zip/download
2. deploy it to your environement.
3. see if the content of ZK works fine.
4. if it is, create a test_label.zul inside war archive, and put your test code inside and test it again.