-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Hi,
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"
pageEncoding="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">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Calendar test</title>
</head>
<body>
<z:page zscriptLanguage="java">
<javadoc>org.zkoss.calendar.impl.SimpleCalendarEvent</javadoc>
<%-- <z:window title="Bare ZK Calendar" border="normal" width="400px" height="600px">
<z:calendars mold="month" onChange='alert("hi")'></z:calendars>
</z:window>
--%> <z:window title="Bare ZK Calendar" border="normal" width="1000px" height="600px">
<z:calendars onChange='alert("hi")'></z:calendars>
</z:window>
</z:page>
</body>
</html>
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
Asked: 2014-10-29 19:12:55 +0800
Seen: 19 times
Last updated: Oct 31 '14
How to configure quartz to use Hibernate in Zk app? [closed]
zk hibernate session per conversation
where to put @Transactional (Hibernate Spring)
Is ZK compatible with hibernate 4.0
use Hibernate standard methods to manage Sessions ??
ZK + Hibernate validation using JSR
Any help is deeply appreciated. I am completely stuck on this.
nagpalsh ( 2014-10-30 11:09:00 +0800 )edit