+

Search Tips   |   Advanced Search

Collaborative Services API


Collaborative Services defined

Collaborative Services are has a set of methods and JavaServer Page tags that allow developers who are writing portlets for WebSphere Portal or other appservers to add Lotus collaborative functionality to their portlets. The services may be used to develop new custom portlets, or to add collaborative functionality (for example, menus or person links indicating online status) to existing portlets.


Person tag

The Collaborative Services include a JavaServer Page tag language descriptor (TLD) for a person tag.

When added to the custom portlet, the person tag causes people's names to appear as hyperlinks, and the Click for Person Card option to display when the user moves the cursor over an active (underlined) person's name. Clicking this option displays the Person card. If WebSphere Portal cannot identify the person name, it displays the name as plain text and the Click for Person Card option is not available.

By default, the Person card includes the action Profile. The Send Mail action displays if the user has an email address. If Sametime is installed and enabled to work with the portal, the person tag adds an icon that indicates the person's online status and additional actions:

The person tag provides only default actions, but we can add our own custom actions to the person menu in any portlet.

Configure the amount of time that the Person card displays by modifying the personTagTimeout custom property.

We can also customize the Person card so that only the business card fields display by default, letting users choose whether to expand the information shown.

The tag library for Collaborative Services that includes the person tag is installed on the portal server in the following locations:

You do not need to copy or move the .tld file anywhere within the portal project; you need only refer to its location in the portal installation. You need a reference to it in the JSP file for every portlet that you deplon that uses the person tag.


Parent: Develop portlets
Related:
People awareness