Sun Java System Portal Server 7.1 Developer Sample Guide

Adding a Theme to the Sample Portal

ProcedureTo add a Theme to the Developer Sample

  1. Develop the display profile XML definition for the new theme and ensure that the new collection has all thirty eight (38) properties defined in the display profile.

    The collection can be added either using the Portal Server management console, or using the psadmin subcommand.

  2. Copy new images into the PortalServer-base/web-src.

    For example:

    • activeBulletImage, inactiveBulletImage, brandImage, brandImage2, previewImage: these images must be copied in to the PortalServer-base/web-src/images directory.

    • helpImage, removeImage, minimizeImage, maximizeImage, normalImage, attachImage, detachImage, editImage: these images must be copied in to the PortalServer-base/web-src/desktop/images directory.

    • tabNotchImage must be copied in to the PortalServer-base/web-src/desktop/tabs/images directory.

  3. Run the PortalServer-base/bin/psadmin redeploy --adminuser amadmin --passwordfile passwordfile --portal portal-ID command to deploy the image files.

    See the Sun Java System Portal Server 7.1 Command Line Reference for more information on the psadmin subcommand.

  4. Verify that the new theme shows up on the Desktop’s Theme page.