10.07.2015 Views

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

Lotus Instant Messaging/ Web Conferencing ... - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 10-1 Resources to be added to NameList portlet projectResource Source location Destinationcs.jarpeople.tld\AppServer\lib\app\cs.jar\PortalServer\app\wps.ear\wps.war\WEB-INF\tld\people.tld/Namelist/webApplication/WEB-INF/classes/NameList/webApplication/WEB-INF/tldWith these files available within the project, we can now work with and modify theView.JSP file.Within the tag of the View.JSP file, we must point the taglib directive tothe people.tld file and import the required packages, as shown in Example 10-1.Example 10-1 Pointing the taglib and importing required packages......With the people tag library (people.tld) properly referenced and the collaborationservices classes (cs.jar) imported, now we must add the proper tags to the JSPfile in order to enable names awareness.Within the View.jsp file, locate the following line:This line writes the people names within an HTML page in order to give the resultshown in Figure 10-6 on page 286. To enable people awareness to the View.jspfile, we just need to include the tag to this line:Finally, save the changes to the View.jsp file, and we are ready to deploy theSametime-enabled NameList portlet.Once deployed, the Sametime-enabled NameList portlet should show “livenames” for those people who are also logged into the server. As shown inFigure 10-7 on page 288, the name for Ana Paula Miranda is now live.Chapter 10. Sametime-enabling portlets 287

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!