Sun Java System Portal Server 7.1 Community Sample Guide

Community Sample Portal

This section provides an overview of the Community Sample portal:

Community Sample Desktop

After installing the Portal Server software, the welcome page at http://host:port/portal/welcome/index.jsp includes links to the three sample portals. Select the Community Sample to view the Community Sample portal anonymous desktop.

The Community Sample desktop anonymous page, by default, includes:

The Communities Home page can be viewed by logging in as test/test. To participate in the Community Sample, users must be in the CommunitySample organization. The Communities home page allows users to browse and/or search communities, view list of their communities, preview and visit interesting communities, and create communities using the community portlets. For more information on the community portlets, see Community Portlets. This page includes:

For each community that the user is a member of, they will have a community page that allows the user to interact with the services. This is the page that allows the user to leave the community and remove the community if the user is the owner. The community visitor page allows users to preview a community and join the community.

For more information on customizing the user interface of the sample portal, see Chapter 8, Customizing the Community Sample User Interface.

Content Filepath

After installation and configuration of the Community Sample PAR file, content for Community Sample portal is deployed in the following directories.

PortalServer-DataDir/portals/portal-ID/communitytemplates/

This directory contains the templates for the Community Sample and the associated properties files for the templates.

PortalServer-DataDir/portals/portal-ID/desktop/community_sample/

Provides dynamic content including JavaServerTM Pages (JSPTM), tag library for Sun JavaTM Web User Interface Components' theme (portletSetupTags.tld), properties file, and containers.

PortalServer-DataDir/portals/portal-ID/desktop/classes/CommunitySamplePortal.properties

Provides properties for the Community Sample. If you modify properties in this file, restart the server for the new values to take effect.

PortalServer-DataDir/portals/portal-ID/web-src/community

Provides static content including JavaScript, images, style sheet (css/desktop.css), and channel content.