0

ZK - Opera not working

asked 2006-12-07 14:58:06 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: ansancle

I have downloaded the zk-2.2.0-RC.tar.gz and am running on a Red Hat Linux Enterprise 3, as well as running it on a portable device with Windows Mobile using Opera.
THe interface will come up but none of the callbacks work, the menu's don't work, The only error I could get back from the javascript console is the following which came up on a tabbed window :

http://localhost/maintenance/command/DHuCommandWithParamsDetails.zul
Event thread: load
Error:
name: ReferenceError
message: Statement on line 1: Reference to undefined variable: zkTab
Backtrace:
Line 1 of eval script
zkTab.selTab("_pc71");
Line 307 of linked script
http://localhost/maintenance/zkau/web/js/zk/html/au.js
fn.call(zkau, dt0, dt1, dt2, dt3, dt4);
Line 3 of inline#3 script in
http://localhost/maintenance/command/DHuCommandWithParamsDetails.zul
zk.process("script", 1, "zkTab.selTab('_pc71')");
Line 312 of linked script
http://localhost/maintenance/zkau/web/js/zk/html/boot.js
zk._initfns.shift()();
Line 270 of linked script
http://localhost/maintenance/zkau/web/js/zk/html/boot.js
zk._evalInit();
Line 220 of linked script
http://localhost/maintenance/zkau/web/js/zk/html/boot.js
zk._loadAndInit({stk : stk, nosibling : true});
Line 608 of linked script
http://localhost/maintenance/zkau/web/js/zk/html/boot.js
zk.initAt(document.body);
At unknown location
[statement source code not available]



Everything does work when I try it on a windows xp box. Can you follow up and test ZK with Opera on a Linux Box? I need to get it working on a mobile device (phone, pda, etc..) and will use any browser you tell me will work on these devices. I am using opera since that was the only one supporting Ajax on these portable devices.

This is critical to my project, if I can't get it to work Im in deep trouble since I made the choice to go with ZK, earlier versions did work for the most part on the mobile/opera and the new versions do not.

Thanks for your help.



delete flag offensive retag edit

16 Replies

Sort by ยป oldest newest

answered 2006-12-08 08:28:44 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

According the stack trace, it looks like the initialization takes place too early. However, I cannot really identify the problem unless I can replicate here. So:

Did you try Opera 9 for Windows (desktop version)? If not, try to test with a PC to see whether it works.

What Opera version did you use? Can it run on Windows XP?

Also try with the latest ZK freshly. There are a lot of improvement since 2.2 RC.

link publish delete flag offensive edit

answered 2006-12-08 08:32:34 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

Also, can you try to install the server at Windows XP? Though the chance is low, we have to make sure which part to blame.

link publish delete flag offensive edit

answered 2006-12-12 14:44:19 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: ansancle

Sorry,
I was away since last Friday, I will test what you ask and get back to you on each.

Everything I am using appears to be working correctly on windows XP using Opera 9.02.

I am working on getting Opera 9.02 to run on my redhat system but am having some trouble (have been using 8.54), Ill test again once I get it working.

This may be a stupid question, but exactly what "server" are you referring to in your last post?
Thanks,
Andrew

link publish delete flag offensive edit

answered 2006-12-12 15:02:08 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: ansancle

I got opera 9.02 working on my red-hat system and everything appears to be working properly now.
This is good progress!
But I still need to get ZK working with the Opera mobile Browser, any idea when you may look into that?

Thanks for your help and fast response!
Andrew

link publish delete flag offensive edit

answered 2006-12-14 08:44:57 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

I checked Opera's website, but I don't have any mobile it mentioned. Did you know if there is any enumlation version of Opera Mobile that is executable under Windows?

link publish delete flag offensive edit

answered 2006-12-14 09:46:15 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

I found one called Windows Opera Platform browser 8.5 (http://my.opera.com/operaplatform/links/), but ZK works fine on it. So any way to replicate issue other than buying a real mobile?

link publish delete flag offensive edit

answered 2006-12-14 19:12:37 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: ansancle

The one I have been having trouble with is the "Opera Mobile? Browser" found at http://www.opera.com/products/mobile/products/

I have two devices using this browser at the moment, a Verizon Pocket PC and a Nokia 770 tablet.

I could ship one or both of these devices to you so you could use them for testing ZK on them. My hope is any issues you may solve on these devices will carry over to other devices running opera mobile. When you are done you could simply send them back to me.
Would you be interested in doing that? If so email me directly at ansancle@townisp.com the shipping information and I will send them out to you asap.

Thanks!
Andrew



link publish delete flag offensive edit

answered 2006-12-27 02:20:21 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: tomyeh

I tested ZK on a PDA-phone (PocketPC). OS: Windows Mobile 5, RAM: 64MB, Opera
Mobile: 8.60 (1682H)

It works fine!

Notice: http://www.zkoss.org/zkdemo/userguide is too wide to display on a mobile.
I tested http://www.zkoss.org/zkdemo/test/test.zul instead.

Andrew, would you clear the Opera's cache and try again?


link publish delete flag offensive edit

answered 2006-12-29 13:33:28 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: ansancle



link publish delete flag offensive edit

answered 2006-12-29 13:37:21 +0800

admin gravatar image admin
18691 1 10 129
ZK Team


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

By: ansancle

Tom,
sorry - I hadn't seen the post, I scanned my ZK emails yesterday but missed it. That is strange, I tried again after clearing the cache and am still having problems. The page comes up properly but none of the events are working. Can you send me that test.zul file so I can try and run that and see what happens?
My application uses ZK with Java classes that extend the Window class to handle all callbacks and my zk definitions all have the "use" clause pointing to the Java window class. Could this have something to do with it? The pages are displaying properly, just none of the event handling is working, which makes me think that may have something to do with it (or not ;)

I can't thank you enough for your help, Andrew

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2006-12-07 14:58:06 +0800

Seen: 417 times

Last updated: Apr 08 '13

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More