JBoss.orgCommunity Documentation

Messageslist

It lists the maximum number of unread messages, that is configurable by users.

Preferences

See the prefereces of this gadget in the following sample code:



<UserPref datatype="hidden" display_name="__MSG_baseurl__" name="url" required="true" value="/mail"/>
<UserPref datatype="hidden" display_name="__MSG_subscribeurl__" name="subscribeurl" required="true" value="/portal/rest/private/cs/mail/unreadMail"/>
<UserPref datatype="hidden" default_value="5" display_name="__MSG_limit__" name="limit"/>
<UserPref datatype="hidden" default_value="" display_name="__MSG_account__" name="account"/>
<UserPref datatype="hidden" default_value="" display_name="__MSG_folder__" name="folder"/>
<UserPref datatype="hidden" default_value="" display_name="__MSG_tag__" name="tag"/>

Details:

Preferences Description
Url The URL of the Mail Application.
Subscribeurl The link to upcoming messages.
Limit The number of displayed unread messages that is set by users.
Account The mail account in the Mail application.
Folder The folder which consists of unread messages.
Tag The tags in all unread messages.

Links to used REST services

It uses the unreadMail service in the following package: org.exoplatform.webservice.cs.mail.MailWebservice.java.