Using ZK Calendar with Spring mvc with hibernate database

asked 2014-10-29 19:12:55 +0800

nagpalsh gravatar image nagpalsh


First of all many congratulations for such a beautiful concept of ZK. Its really amazing and going to rock the web world.

I liked your calendar the most and want to integrate it into my Spring application. I am using jsp to integrate ZK Calendar. I have successfully integrated a basic calendar into my JSP. Now i am kinda stuck, how to create an event and take it to back end into Java. I can see java classes (ZK java API for calendar) such as CalenderModel, CalendarEvent etc which can be used to show and retrieve caleder events. But my question is how will it reach to these classes on a screen event. My Jsp code is as follows :

    <%@ page language="java" contentType="text/html; charset=UTF-8"
<%@ taglib uri="zkoss.org/jsp/zul" prefix="z"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "w3.org/TR/html4/loose.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Calendar test</title>
    <z:page zscriptLanguage="java">
<%--         <z:window title="Bare ZK Calendar" border="normal" width="400px" height="600px">
            <z:calendars mold="month" onChange='alert("hi")'></z:calendars>
 --%>        <z:window title="Bare ZK Calendar" border="normal" width="1000px" height="600px">
            <z:calendars onChange='alert("hi")'></z:calendars>


I read somewhere that we can write java code in [CDATA] but that is in "zul" file. But i need to use this in jsp file. Please suggest me to move further on this.

Thanks, Hemant

delete flag offensive retag edit


Any help is deeply appreciated. I am completely stuck on this.

nagpalsh ( 2014-10-30 11:09:00 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-10-31 19:59:54 +0800

nagpalsh gravatar image nagpalsh

I would rather switch to another open source, widely accepted spring framework calender , javaplanner.com/

ZK does not have enough support.

link publish delete flag offensive edit
Your answer
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




Asked: 2014-10-29 19:12:55 +0800

Seen: 19 times

Last updated: Oct 31 '14

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