This sample demonstrates a technique using multiple nested Repeated Region Builders to render a calendar. There are also some good examples of how to work with the IXml interface to manipulate data. The calendar data is read from a data service operation that resembles a SQL call. The data service operation returns data in a rowset/row type of schema. The calendar portlet then uses the IXml interface to operate on the result data and migrate the calendar events into an alternate schema which is used for rendering. The display schema has a form like events/week/day/eventlist/event. The multiple Repeated Region Builders operate at each level of the display schema to duplicate portions of the display page and render a calendar.
Here is a screenshot of the running sample model.
Notes on running the sample and prerequisites
Import the attached zip file into your project using the Import WebSphere Portlet Factory Archive command.
Download the sample models from here: calendar_sample.zip