0

ZK Calendar error

asked 2010-08-19 14:39:52 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

updated 2010-08-19 14:41:16 +0800

Hi all,

today i wan't to implement the ZK calendar in the zksample2 demo application.

1. If i create a new Calendars instance in java and call to a later time by resizing calXXX.invalidate() it throws an error.
2. If i use the demo zul's (i have changed the arrowDiv and tabDiv to working buttons ) and change the Calendars mold to 'month' it crashes too with the same error message. pic

I would likely go in the code to see what happens but can and WILL not like the ZK Calendar is NOT in the maven repository.

IS THERE ANY PLAN TO mavenize ZK Calendar?

best
Stephan

delete flag offensive retag edit

45 Replies

Sort by » oldest newest

answered 2010-11-02 11:54:37 +0800

Neus gravatar image Neus
1415 14

Hi,

I have the error with the month mold.
I have download the latest freshly version and it still occurs.
I am using ZK 5.0.4 ee evaluation version.

link publish delete flag offensive edit

answered 2010-11-02 16:14:25 +0800

terrytornado gravatar image terrytornado flag of Germany
9393 3 7 16
http://www.oxitec.de/

I'm using the same without problems now. You must download the latest freshly zk calendar jar from here.

best
Stephan

link publish delete flag offensive edit

answered 2010-11-23 04:43:22 +0800

Neus gravatar image Neus
1415 14

Hi,
It's been a while and this is still happening to me.
I have made a new project.
In the WebContent folder I copied the .zul files of the calendar demo.(I only have this files). I have the latest freshly calendar jar.
When I try to change calendar to month view It gives me this javascript error:

Failed to process
outer
Object #<an Object> has no method 'destroy'

link publish delete flag offensive edit

answered 2010-11-23 19:10:04 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi Neus,
I have tested with the latest freshly.
it worked fine.

link publish delete flag offensive edit

answered 2010-11-24 03:15:26 +0800

Neus gravatar image Neus
1415 14

I've just download the latest freshly (from 6 hours ago) and now works fine!!!
Yesterday I downloaded yesterday's latest freshly and it didn't work.

So, it's ok now.

Than you!

link publish delete flag offensive edit

answered 2010-11-24 03:42:21 +0800

Neus gravatar image Neus
1415 14

If I open the calendar from another window it's still giving me the javascript error..
For example, open it from a button:

<?page title="new page title" contentType="text/html;charset=UTF-8"?>
<zk>
<window border="normal">
	<button label="Open Calendar">
	<attribute name="onClick"><![CDATA[
		Clients.evalJavaScript("window.open('index.zul','','')");
	]]></attribute>
	</button>
</window>
</zk>

index.zul is the calendar from the demo.

link publish delete flag offensive edit

answered 2010-11-24 05:33:29 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

updated 2010-11-24 05:33:42 +0800

What timezone of your computer ?
My setting is "(UTC + 08:00) Taipei".

link publish delete flag offensive edit

answered 2010-11-24 05:53:19 +0800

Neus gravatar image Neus
1415 14

My timezone:
(GMT + 01:00)Bruselas,Copenhague,Madrid,París

link publish delete flag offensive edit

answered 2010-11-24 09:34:16 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

updated 2010-11-24 09:34:58 +0800

I have changed the timezone as yours and download the calendar demo 2.1.0
run the war file with the tomcat, and switch to month view, it worked fine.

link publish delete flag offensive edit

answered 2010-11-26 03:44:13 +0800

Neus gravatar image Neus
1415 14

updated 2010-11-26 03:45:01 +0800

But have you tried opening the calendar from a button?

Now if I use the demo it works ok. But I added a new zul with a button. This button opens the calendar. In this case it doesn't work well. When I click Refresh and when I try to change to view month the javascript error described in the first post of this thread appears.

Maybe I'm doing something wrong. But I create different projects to try it with nothing more than the calendar and always the same is happening.

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-08-19 14:39:52 +0800

Seen: 1,665 times

Last updated: Jun 25 '12

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