JBoss.orgCommunity Documentation
Eventslist lists the maximum number of upcoming events, that is configurable by users. For example, they can set the preference list to 5 or 10 events.
Preferences
See preferences of this gadget in the following sample code:
<UserPref datatype="string" display_name="__MSG_baseurl__" name="url" required="true" value="/calendar"/>
<UserPref datatype="string" display_name="__MSG_subscribeurl__" name="subscribeurl" required="true" value="/portal/rest/private/cs/calendar/upcoming"/>
<UserPref datatype="string" default_value="10" display_name="__MSG_limit__" name="limit"/>
<UserPref datatype="enum" default_value="AM/PM" display_name="__MSG_format__" name="timeformat"/>
Details:
Preferences | Description |
---|---|
url | Link to the Calendar portlet. |
Subscribeurl | Link to the upcoming events. |
limit | The maximum number of upcoming events. |
timeformat | The time format for upcoming events. |
For more details on the preferences of gadgets, see here.
It uses the upcomingEvent service in the following package: org.exoplatform.webservice.cs.calendar.CalendarWebservice.java.