Calendar Portlet Configuration

The calendar portlet has two properties files: database.properties and configuration.properties.

In order to use a database other than HSQL you will need to configure database.properties and add the appropriate database dependency to the pom.xml file.

You may also need to change the names of the userinfo attributes in configuration.properties to match your portal installation. If you're using uPortal, you can check personDirectory.xml (or personDirectoryContext.xml in uP3).

Configuration, customization, and administration

Configuring number of days of calendar events to display by default

By default the calendar will display 7 days of calendar event data when a user logs in.  If allowed, the user can change to display 1, 7, or 30 days of calendar event information, though that is stored in the user's HTTP session and is lost after logging out of uPortal.  You can configure the default number of days by adding a portlet preference parameter called "days" with the value of the number of days to display (say 2).

Calendar Portlet extension and integration

Technical implementation details

This portlet is implemented using the Spring PortletMVC framework and hibernate. The calendar models and main parsing methods use the ical4j library.