I tried to make an organizer with rich:calendar (looking for a sample http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf?tab=organizer)
In CalendarDataModelItemImpl I have implemented getData() method as required. My data variable type is java.util.List<Map<String, String>>.
Now I have a problem how to iterate trough this list on XHTML.
<rich:calendar id="organizer" showFooter="true" locale="#{locale}" mode="ajax" popup="false" showApplyButton="false" boundaryDatesMode="none" showWeeksBar="true" oncurrentdateselect="return false" cellWidth="100px" cellHeight="100px" dataModel="#{calendarDataModel}" value="#{calendarList.selectedDate}" > <a:outputPanel layout="block" id="cell" onclick="#{rich:component('organizer')}.resetSelectedDate()" style="height: 100%;" onmouseup="testRightClick(event, '{date}');"> <h:panelGrid columns="1"> <h:outputText value="{day}" style="align:center"/> <h:outputText value="{data[0].title}"/> <h:outputText value="{data[0].location}"/> <rich:dataTable value="{data}" var="d"> <h:column> c: #{d[0]} </h:column> </rich:dataTable> </h:panelGrid> </a:outputPanel> </rich:calendar>
{data[0].title}but cannot iterate through {data}.