The Sun Java Web User Interface Components' defaulttheme can be defined in dynamic and static files. To change the defaulttheme to your customtheme, do the following.
Copy the community sample par source files to your custom directory.
For example, type cp -Rf /opt/SUNWportal/par-src/community_sample /tmp/mypar.
Search for defaulttheme references in your custom directory, and for each file, replace defaulttheme with your customtheme.
For the Community Sample, defaulttheme is referenced in dynamic and static files.
Create the PAR file.
For example, type /opt/SUNWportal/bin/psadmin create-par --dir /tmp/mypar /tmp/mypar.par.
Import the PAR file.
Use the --skip-node-validation option if you are importing display profile documents to a user distinguished node. Use the --overwrite option to overwrite the exiting display profile documents and files.
For example, type /opt/SUNWportal/bin/psadmin import --adminuser amadmin --passwordfile passwordfile --overwrite --skip-node-validation --portal portal1 /tmp/mypar.par.
Redeploy the portal.
For example, type /opt/SUNWportal/bin/psadmin redeploy --adminuser amadmin --passwordfile passwordfile.