Sun Java System Portal Server 7.2 Enterprise Sample Guide

Appendix A Modifying the Attributes

The community portlets must construct URLs that access and control the community sample in which they are executing. The attributes described in this chapter define how these community URLs are constructed.

CommunityParentContainerURLParameter (CommunityParentContainer.selectedChannel)

Specifies the top level container for the community sample, as well as the URL parameter that causes this container to select a new contained channel.

CommunityHomeContainerName (CommunityHomeContainer)

Specifies the name of the container that defines the community home page.

CommunityCreateContainerName

Specifies the name of the community portlet channel used to create new communities.

You need to change these values, if you are not using default values. You may want to change them if, for example, you are designing a new sample from scratch, and are using different container and channel names than the defaults used in the community sample. To help understand how the system uses these attributes, some tokenized example community URLs are provided.