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

Borderlayout problem

admin
25 Mar 2008 16:56:55 GMT
25 Mar 2008 16:56:55 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4863088

By: matteo_barbieri

Hi, I'm trying to update to 3.0.4 freshly, but every page having a borderlayout in it, gave me those errors:

Failed to invoke zkBorderLayout.init zk.addOnResize is not a function

and

Failed to invoke zkBorderLayout.childchg zk.onResize is not a function

Is there something I'm missing?
Thank you,
Bye

admin
26 Mar 2008 01:03:58 GMT
26 Mar 2008 01:03:58 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4863880

By: jumperchen

Hi,

Have you updated zkex.jar file too?

/Jumper

admin
26 Mar 2008 01:46:42 GMT
26 Mar 2008 01:46:42 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4863934

By: henrichen

This might help to clean the JavaScript cache of your browser and try again.

/henri

admin
26 Mar 2008 08:02:32 GMT
26 Mar 2008 08:02:32 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4864279

By: matteo_barbieri

I'm sure I updated the zkex.jar file and cleaned JavaScript cache, but nothing changed. I tried different browsers on different computers.
Using Opera exceptions are more detailed:

---
Failed to invoke zkBorderLayout.init
Statement on line 265: Type mismatch (usually a non-object value used where an object is required)
Backtrace:
Line 265 of linked script
http://localhost:8080/ste-manager/zkau/web/_zv08032519/_zcbzk.ald/js/zulex/layou
t.js;jsessionid=551561E23C6B2E389C594E22BBCC3441
zk.addOnResize(_36.fnResize, true);
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/boot.js
if (! I)
if (I)
return false;
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/boot.js
do
while (! zk.loading && (zk._bfinits.length || zk._initcmps.length
|| zk._initszcmps.length || zk._initfns.length));
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/boot.js
zk._ready = false;
for (var B = 0;C.stk.length;)
zk._evalInit();
zk._ready = true;
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/boot.js
zk._loadAndInit(C);
At unknown location
[statement source code not available]
---

and

---
Failed to invoke zkBorderLayout.childchg Statement on line 268: Type mismatch (usually a non-object value used where an object is required)
Backtrace:
Line 268 of linked script
http://localhost:8080/ste-manager/zkau/web/_zv08032519/_zcbzk.ald/js/zulex/layou
t.js;jsessionid=551561E23C6B2E389C594E22BBCC3441
zk.onResize();
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/boot.js
if (! I)
if (I)
return false;
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/au.js
if (dt1 == "z.init" || dt1 == "z.chchg") var done = false; if ("z.drag" == dt1) else if (zk.eval(cmp, "setAttr", null, dt1, dt2)) if (! done) Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/au.js
var L = zkau.cmd0[H];
if (L)
var A = J;
if (! A)
var K = $e(A);
L = zkau.cmd1[H];
if (L)
zk.error(mesg.ILLEGAL_RESPONSE + "Unknown command: " + H); Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/au.js
while (A && A.length)
return true;
Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/au.js
var B, F = zkau._respQue, A = $now() + 6000; while (F.length) if (zkau._checkProgress()) if (B) Line 1 of linked script http://localhost:8080/ste-manager/zkau/web/js/zk/html/au.js
var K = zkau._areq, L = zkau._areqInf;
if (K && K.readyState == 4)
zkau._areq = zkau._areqInf = null;
if (K && typeof K.abort == "function")
if (! zkau._ignorable && ! zkau._unloading) zkau._cleanupOnFatal(zkau._ignorable);
if (zkau._sendPending && ! zkau._areq)
zkau._doQueResps();
zkau._checkProgress();
At unknown location
[statement source code not available]
---



admin
27 Mar 2008 09:07:48 GMT
27 Mar 2008 09:07:48 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4866632

By: kykub

I have Same problem

admin
27 Mar 2008 09:32:37 GMT
27 Mar 2008 09:32:37 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4866713

By: jumperchen

Hi All,

Please remove the unnecessary zulex.jar. (It has been renamed to "zkex.jar")

/Jumper

admin
27 Mar 2008 09:45:58 GMT
27 Mar 2008 09:45:58 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4866738

By: kykub

Oh it working.

i remove "zulex.jar" from my WEB-INF/lib now it working.


Thank you.

admin
27 Mar 2008 10:55:25 GMT
27 Mar 2008 10:55:25 GMT


Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4866799

By: matteo_barbieri

It works

Many thanks

Bye