-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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?
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?
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
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
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
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
Asked: 2010-03-17 13:00:15 +0800
Seen: 515 times
Last updated: Aug 03 '10