You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Khaynaa <kh...@yahoo.com> on 2012/09/11 10:01:15 UTC
How to use jquery fullCalenar with Tapestry 5.3
Hi all
How to use jquery fullCalenar with Tapestry 5.3
--
View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-use-jquery-fullCalenar-with-Tapestry-5-3-tp5716186.html
Sent from the Tapestry - Dev mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org
Re: How to use jquery fullCalenar with Tapestry 5.3
Posted by Lance Java <la...@googlemail.com>.
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-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org