0

ZK Calendar 2.0 does not finish loading

asked 2010-03-17 13:00:15 +0800

gcarlos gravatar image gcarlos
69 1

Hi all,

I have got a wired problem. Somehow the calendars component refuses to work with CalendarEvents of this week. ?!?

Yes you have read right, if I insert a CalendarEvent for the next week or the week before the current week it works fine. What I experience is that the Calendar never finishes loading. I still see the "Processing...." message. In any other week it works fine.

I searched for a couple of hours and the only thing that I discovered is that the toString method of the CalendarComponent is called 3 times. Normally it is only called twice:

1) Calendars.getJSONEventMap
2) Calendars.getJSONEventList
3) Calendars.getJSONEventMap again

after that the page stays with the "Processing..." message.

I would really appreciate it if someone could help me out here.

Thank you.
Alex

delete flag offensive retag edit

10 Replies

Sort by ยป oldest newest

answered 2010-03-17 13:14:42 +0800

gcarlos gravatar image gcarlos
69 1

Sorry forgot to mention:

I am using ZK Calendar 2.0 with ZK 5.0 EE inside a Grails Application ZKGrails-1.0M1 with added ZK 5.0 EE libs.

Thank you for your help.

P.S.: Could the problem perhaps be related to the fact that I am in the evaluation period or that I exceeded that time period?

link publish delete flag offensive edit

answered 2010-03-17 13:52:13 +0800

gcarlos gravatar image gcarlos
69 1

UPDATE!

Even the ZK's own demo version of Calendar component http://zcal.zkoss.org/ has got the same problem!!!!

link publish delete flag offensive edit

answered 2010-03-18 20:40:50 +0800

Cogito gravatar image Cogito
66 1
ZK Team

Hi gcarlos,
I wasn't able to reproduce the problem you mentioned on http://zcal.zkoss.org/.
Could you give us more detail in reproducing the error?

link publish delete flag offensive edit

answered 2010-03-18 21:38:32 +0800

samchuang gravatar image samchuang
4084 4

me too,

the calendar works for me, how to you reproduce the problem ?

link publish delete flag offensive edit

answered 2010-03-22 10:25:23 +0800

gcarlos gravatar image gcarlos
69 1

updated 2010-03-22 10:26:24 +0800

Sorry for cross-posting last week. I was kinda depressed. ;-(

My answers are posted in the more recent thread.

Thank you for your help.
Alex

link publish delete flag offensive edit

answered 2010-07-29 08:53:20 +0800

farmacia gravatar image farmacia
105

updated 2010-07-29 09:49:29 +0800

Hi @all
I have the same Problem BUT I can reproduce it in a simple way.

THIS WORKS:
<?page title="Auto Generated index.zul"?>
<window title="Hello World!!" border="normal" width="100%">

<calendars mold="default" />

</window>

THIS DOESN'T:
<?page title="Auto Generated index.zul"?>
<window title="Hello World!!" border="normal" width="100%">

<calendars mold="month" />

</window>

It never stops processing..........

I also tried the CalendarEvent and there are really wired errors. I try to isolate this
for small project so you can reproduce it

BTW:
I use Calendar RC2.0 with ZK 5.0.3

Greedings,

farmacia

link publish delete flag offensive edit

answered 2010-08-01 20:21:27 +0800

samchuang gravatar image samchuang
4084 4

Hi

refer to this thread, the problem seems fixed

link publish delete flag offensive edit

answered 2010-08-02 14:40:26 +0800

farmacia gravatar image farmacia
105

Hi,

I'm affraid it isn't. I tried the Calendar.jar from April and now this (it seems much older) But still got the same problem.
Anyone ?

link publish delete flag offensive edit

answered 2010-08-02 15:48:15 +0800

twiegand gravatar image twiegand
1807 3

Farmacia,

Both your code snippets ("This works" & "This Doesn't") work fine for me. I too have the calendar.jar file from April 20th this year and I'm running ZK 5.0.3. I tested your snippets in IE7, FireFox 3.6.3, and Chrome 5.x.

Most of the time when I've seen those endless "processing..." messages it was because I had some bad JavaScript code in my zul file somewhere. Are you doing anything with JS or maybe even jQuery that might throw things off?

If you have Firebug for FireFox, does it tell you anything about any JS errors?

Todd

link publish delete flag offensive edit

answered 2010-08-03 10:08:57 +0800

farmacia gravatar image farmacia
105

Hi,

The snippets are new-clean-Eclipse-ZK-Project with nothing more inside as the above code.
I just removed the label which says which version so you have and placed the Calendars Code inside (Of course I placed the the Calendars JAR inside the Project)

I provided a small TestProject source and Screenshots under Error.tar.gz in the Google-Code Issue List

http://code.google.com/p/zkcalendar/issues/detail?id=34

The Screenshots are showing JS Errors. I couldn't provide the Screenshots here so I thought it would be nice for the developers to have something in there issue list.
I hope someone comes up with an solution.

Farmacia

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: 2010-03-17 13:00:15 +0800

Seen: 514 times

Last updated: Aug 03 '10

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