-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4189361
By: daap
I have installed ZK on three Windows machines now, using Tomcat 5.5.20, and everything works beautifully. However, when I install ZK on a Debian machine, using the same Tomcat version, ZKDemo gives errors. Example: when I press the 'First Window: Hello World' item in the demo application, I get the error mentioned below in an orange popup. In my own ZK application I get an error that my Richlet cannot be found, although the same application runs on the Windows installations.
I am not a Tomcat expert, so I might have misconfigured something on the Linux box. I'm not sure if this is relevant, but the Linux box also runs Apache to host normal web pages (non-Java apps).
Anyone?
Error in orange box:
Failed to process [object Object]
n has no properties
_pct6
<div id="_pct6">
<div id="_ppha" class="zk" style="width:100%" z.zidsp="true"> <div id="_pcia" z.type="zul.widget.Wnd" z.autoz="true" class="embedded-none"> <div id="_pcia!cave" class="wnd-i">
<table id="_pcja" z.type="zul.box.Box" style="width:100%;" cellpadding="0"
cellspacing="0">
<tr id="_pcka!chdextr" valign="top"><td class="vbox">
<span id="_pcka">
<h4>Creating Window: Hello World</h4>
<p>Creating the first window: the classic "Hello World".</p>
</span></td></tr>
<tr id="_pcla!chdextr" valign="top"><td class="vbox">
<table id="_pcla" z.type="zul.widget.Grbox" style="width:100%;"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="5" height="5"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-tl-uns.gif)"></td>
<td height="5" colspan="3"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-tm-uns.gif)"></td>
<td width="5" height="5"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-tr-uns.gif)"></td>
</tr>
<tr height="22">
<td width="5" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-ml-uns
.gif)"></td>
<td width="3" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mm-uns
.gif)"></td>
<td style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mm-uns.gif)">
<table id="_pcma" z.type="zul.widget.Capt" class="caption" width="100%" border="0"
cellpadding="0" cellspacing="0">
<tr valign="middle">
<td align="left">View</td>
<td align="right" id="_pcma!cave"><button type="button" id="_pcna"
z.type="zul.widget.Button" style="height:18px;"> Reload </button></td>
</tr>
</table>
</td>
<td width="3" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mm-uns
.gif)"></td>
<td width="5" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mr-uns
.gif)"></td>
</tr>
<tr height="1">
<td colspan="5"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-b.gif)"></td>
</tr>
</table>
<div id="_pcla!slide" class="groupbox-3d"><div id="_pcla!cave"> <div id="_pcoa" z.type="zul.widget.Wnd" z.autoz="true" class="embedded-none"> <div id="_pcoa!cave" class="wnd-i">
<div id="_pcta" z.type="zul.widget.Wnd" z.autoz="true" class="embedded"
style="width:200px;">
<div id="_pcta!cave" class="wnd-i">
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr id="_pcta!caption" class="title"> <td>1st window</td>
</tr>
<tr height="5px"><td></td></tr>
</table>
<span id="_pcua">Hello, World!</span>
</div>
</div>
</div>
</div>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="6"><img src="/zkdemo/zkau/web/img/shdlf.gif" height="6"
width="6"/></td>
<td style="background-image:url(/zkdemo/zkau/web/img/shdmd.gif)"><img
src="/zkdemo/zkau/web/img/spacer.gif" height="1" width="1"/></td> <td width="6"><img src="/zkdemo/zkau/web/img/shdrg.gif" height="6"
width="6"/></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr>
<tr id="_pcpa!chdextr" valign="top"><td class="vbox">
<table id="_pcpa" z.type="zul.widget.Grbox" style="width:100%;"> <tr> <td> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="5" height="5"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-tl-uns.gif)"></td>
<td height="5" colspan="3"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-tm-uns.gif)"></td>
<td width="5" height="5"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-tr-uns.gif)"></td>
</tr>
<tr height="22">
<td width="5" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-ml-uns
.gif)"></td>
<td width="3" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mm-uns
.gif)"></td>
<td style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mm-uns.gif)">
<table id="_pcqa" z.type="zul.widget.Capt" class="caption" width="100%" border="0"
cellpadding="0" cellspacing="0">
<tr valign="middle">
<td align="left">Source</td>
<td align="right" id="_pcqa!cave"><button type="button" id="_pcra"
z.type="zul.widget.Button">
Try me!
</button></td>
</tr>
</table>
</td>
<td width="3" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mm-uns
.gif)"></td>
<td width="5" style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-mr-uns
.gif)"></td>
</tr>
<tr height="1">
<td colspan="5"
style="background-image:url(/zkdemo/zkau/web/zul/img/tab/3d-b.gif)"></td>
</tr>
</table>
<div id="_pcpa!slide" style="display:none" class="groupbox-3d"><div id="_pcpa!cave"> <textarea id="_pcsa" z.type="zul.widget.Txbox" class="code" style="width:100%;"
z.skipOK="true" rows="10">
<window title="1st window" border="normal" width="200px"> Hello, World!
</window>
</textarea>
</div></div>
<table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="6"><img src="/zkdemo/zkau/web/img/shdlf.gif" height="6"
width="6"/></td>
<td style="background-image:url(/zkdemo/zkau/web/img/shdmd.gif)"><img
src="/zkdemo/zkau/web/img/spacer.gif" height="1" width="1"/></td> <td width="6"><img src="/zkdemo/zkau/web/img/shdrg.gif" height="6"
width="6"/></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr>
</table>
</div>
</div>
</div>
</div>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4195122
By: tomyeh
It is hard to tell from your description.
Did you browse to different servers with the same browser? Make sure the problem is caused by server, not client.
If it is caused by server, are they configured the same way? For example, ZK jar files are put in shared/lib, or WEB-INF/lib, and any diff in web.xml?
If they are the same, then you have to tell us where you put ZK jar files, the content of web.xml...
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4197748
By: daap
Good point, Tom. I tried accessing the pages from a different browser, from a different machine, and behold! It works beautifully again. So like you mentioned, the client might be and in this case is the problem.
Thanks!
Asked: 2007-03-03 12:29:39 +0800
Seen: 1,185 times
Last updated: Apr 15 '14