Adding people awareness to portlet JSP files

The people awareness feature of WebSphere® Portal allows users to collaborate with other users using person links.

WebSphere Portal includes the people awareness feature, which is provided by person links on JSP pages. Person links are hyper-links that allow users to contact people with whom they might want to work. Portal users can click the person link to display a menu of actions for collaborating (contacting and working) with the person defined by the link. Different actions appear, depending on how the collaboration software is configured and the online status of the person.

For more information, refer to the People awareness section of the WebSphere Portal Information Center.

To insert a person link in a JSP file:

  1. Double-click on a JSP file to open it in Page Designer.
  2. Select the Portlet drawer in the Palette view.
  3. Drag and drop the Person Link object from the Palette view onto the page. Alternatively, select Insert > Portlet > Person Link from the menu. The inserted person tag is represented by the person link icon (Person Link icon ) in the JSP page.
  4. Specify the display name.

    If this is a WebSphere Portal v5.0 portlet, type over the icon to specify a display name such as John Smith

    If this is a WebSphere Portal v5.1 portlet, specify the display name as an attribute in the Display name field of the Properties view.

  5. To modify the attributes for the person tag, highlight the person link in the JSP file. The attributes for the person tag display in the Properties view. See Person JSP tag for details about the attributes available for different versions of WebSphere Portal.

When you add a Person Link to a JSP file, the workbench adds the following tags:

<%@taglib uri="/WEB-INF/tld/people.tld" prefix="pa"%>

<pa:person attributes></pa:person>
Related concepts
Person JSP tag
Related tasks
Creating portlet JSP files
Accessing portlet API objects from JSP files
Related reference
WebSphere Portal Information Center

(C) Copyright IBM Corporation 2002, 2005. All Rights Reserved.