0

just exhausted! don't know how to start with zk calendar!

asked 2014-03-17 20:17:54 +0800

LokYeaHK gravatar image LokYeaHK
1

updated 2014-03-17 21:19:41 +0800

I am a beginner and I have followed the step to set up the zk studio with tomcat 7.0 in eclipse and using zk-bin-7.0.0. Then, I went to www.zkoss.org/download/zkcalendar to download the source code of the calendar. I stuck at here: 1. what are the difference between the 3 source codes?(bin, src, demo) 2.I downloaded all of them but don't know how to start with importing them to create my own calendar for my website.

I spent a few hours but still no luck. I hope you guys could give your helping hands ;-( Thank you!

delete flag offensive retag edit

Comments

do you use a builder tool like maven?

chillworld ( 2014-03-17 20:29:04 +0800 )edit

reply to chillworld: no! i didn't do you mean the "Maven Project"section in books.zkoss.org/wiki/ZK%20Calendar%20Essentials/Getting%20Started%20with%20ZK%20Calendar/Setting%20Up%20ZK%20Calendar

LokYeaHK ( 2014-03-17 21:13:50 +0800 )edit

must i use this or not? If i have to use it, then i edit the pom.xml by adding some dependency and repository? But, to edit it , i have to create a project with it. I really dont know how to launch my project,,,create a new zk project(i hv zk studio) or a web dynamic web project??

LokYeaHK ( 2014-03-17 21:14:12 +0800 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2014-03-18 07:22:21 +0800

chillworld gravatar image chillworld flag of Belgium
5367 4 9
https://github.com/chillw...

You have to create new project => maven project => web application.

Oke why maven (or other building tool)?

First of all, you shall know that there are jars that you need to add as dependency. With maven if you add for example ZK, this will also download and add all the dependencies that ZK needs to run. You can do it yourself but you have to search what dependencys ZK need, what version of jar it must be,... With maven this headache is over. Just add your dependency you need, maven will automaticly search and install all (sub)dependency.

Now I use netbeans, so for eclipse you have to take a look here to integrate maven

Here is a download link of a rar file with contains a small maven project (from the small talk chat with MVVM).

You can download it and change whatever you want, so you can test the calendar (add the calendar dependency as in the link you provided in your first comment).

Greetz chill.

link publish delete flag offensive edit
0

answered 2014-03-18 07:42:27 +0800

IngoB gravatar image IngoB flag of Germany
256 6

updated 2014-03-18 07:44:00 +0800

If you are using Eclipse EE Maven should be already integrated. (Eclipse Java EE IDE for Web Developers, Version: Kepler Service Release 1)

http://books.zkoss.org/wiki/ZKInstallationGuide/QuickStart/CreateandRunYourFirstZKApplicationwithEclipseand_Maven

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

Follow
1 follower

RSS

Stats

Asked: 2014-03-17 20:17:54 +0800

Seen: 19 times

Last updated: Mar 18 '14

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