-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
I'm using the same without problems now. You must download the latest freshly zk calendar jar from here.
best
Stephan
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'
Hi Neus,
I have tested with the latest freshly.
it worked fine.
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>
What timezone of your computer ?
My setting is "(UTC + 08:00) Taipei".
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.
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.
Asked: 2010-08-19 14:39:52 +0800
Seen: 1,665 times
Last updated: Jun 25 '12