The main requirements of fullcalendar is a feed of events (json) between a
start date and an end date [1]. Fullcalendar is very configurable but by
default, it will hit a URL of the form:
"/someURL?start=1262332800&end=1265011200"

1. Create an event on your page which uses a JSONObject to return a
TextStreamResponse.
public StreamResponse onGetEvents(@RequestParameter("start") long start,
@RequestParameter("end") long end)

2. Use componentResources.createEventLink("getEvents") to generate the base
URL

3. Pass the URL to the client (via JavaScriptSupport) to configure the
fullcalendar.

[1] http://arshaw.com/fullcalendar/docs/event_data/events_json_feed/



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/How-to-use-jquery-fullCalenar-with-Tapestry-5-3-tp5716186p5716190.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tapestry.apache.org
For additional commands, e-mail: dev-h...@tapestry.apache.org

Reply via email to