Sun Java System Portal Server 7.1 Community Sample Guide

Appendix A Attributes

The community portlets must construct URLs that access and control the community sample in which they are executing. The following attributes 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.

In most cases, you will not need to change these 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 below:

http://host:port/portal/dt?CommunityParentContainerURLParameter=CommunityHomeContainerName

Access community home page.

http://host:port/portal/dt?CommunityParentContainerURLParameter=X_Container

Access a community page, for community ID X.

http://host:port/portal/dt?CommunityParentContainerURLParameter=CommunityCreateContainerName

Access the community create portlet.