Sun Java System Portal Server 7.1 Developer Sample Guide

ProcedureTo change the Desktop type

  1. Create a new subdirectory in the PortalServer-DataDirportals/portal-ID/desktop directory.

    For example:


    mkdir PortalServer-DataDir/portals/portal-ID/desktop/sesta
  2. Manually copy only the template files that you wish to modify to the new directory location.

    For example, if your Desktop type will modify content.jsp file for JSPProvider, copy this file to PortalServer-DataDir/portals/portal-ID/desktop/sesta/JSPProvider/content.jsp, and customize the file for the new Desktop type in that location.

    You only need to copy the files that you have changed from the sample installation to the new directory tree. This structure enables you to tell at a glance which files have been modified from the original distribution. It also eliminates the need to back up copies of the original sample files.

  3. Use the Portal Server software management console to change the value of the Desktop Type attribute for the subdirectory created in step 1.

    As this attribute is a Dynamic Access Manager service attribute, you need to change it everywhere that it appears (organization, sub-organization, role, and user). Changing the Desktop Type at the organization level will not necessarily be reflected at the user level. This will be the case only if the user has not overwritten the Desktop Type in which case the Desktop Type value will be inherited from the organization level. If the user defines the Desktop Type at the user level, the value will remain the same even if the Desktop Type is changed at the organization level.

    In this example, in the Portal Server management console, you would specify sesta as the value for the Desktop Type attribute.