Try out JavaScript API. For documentation see
http://arshaw.com/fullcalendar/docs/
CTRL+ENTER while in textarea to execute
schedule.today(); var today=new Date(); var tommorow=new Date(today.getFullYear(),today.getMonth(),today.getDate()+1); schedule.select(today,tommorow); schedule.unselect(); schedule.render(); RichFaces.Notify({title:schedule.getView().name}); schedule.changeView("agendaWeek"); var items = schedule.getItems(); if(items.length>0) { var item = items[0]; item.title = window.prompt(item.title); schedule.updateItem(item); schedule.render(); } schedule.next();
Available methods:
select(startDate,endDate[,allDay])
unselect()
render()
destroy()
getView()
changeView(viewName)
prev()
next()
prevYear()
nextYear()
today()
gotoDate(year [, month, [ date ]])
incrementDate(years [, months, [ days ]])
updateItem(item)
getItems(idOrFilterFunction)
removeItems(idOrFilterFunction)
refetchItems()
addEventSource(Array/URL/Function)
removeEventSource(Array/URL/Function)
renderEvent(event,stick)
rerenderEvents()