i have a schedule, something like the following:
Code: Select all
<p:schedule id="schedule"
value="#{calendarControllerBean.eventModel}"
locale="#{res.locale}" widgetVar="myschedule"
styleClass="customCalendar" view="agendaWeek"
style="background-color:white;color:black;" minTime="#{res.minTime}"
maxTime="#{res.maxTime}" slotMinutes="#{res.slotMinutes}"
timeFormat="#{res.timeFormat}{ - #{res.timeFormat}}"
axisFormat="#{res.axisFormat}" draggable="false"
timeZone="#{userBean.userTimeZone}" resizable="false">
<p:ajax event="dateSelect"
listener="#{calendarControllerBean.onDateSelect}"
update="eventDetails" oncomplete="eventDialog.show()"
onerror="sessionExpiredDialog.show()" />
<p:ajax event="eventSelect"
listener="#{calendarControllerBean.onEventSelect}"
update="eventDetails" oncomplete="eventDialog.show()"
onerror="sessionExpiredDialog.show()" />
</p:schedule>
...............................
I was wondering of the following:
1. how can i load entries per month (kind of pagination)?
2. do you have such case and what is the best practice?
thanks a lot!