The Desktop Design Tool Theme:
Is based on CSS style sheet.
Allows you to select a theme from a list of deployed themes for the portal desktops.
Allows you to upload theme WAR file (skin file) and deploy it to the Portal Server.
Allows you to delete a theme or edit theme properties for a specific portal desktop.
Allows you to download theme WAR file, and modify the theme CSS properties using View Designer for Sun JavaTM System Portal Server.
You can access the Designview home page at – https://designview.dev.java.net/
The Portal Server software includes two themes, default and heavy, that, after deployment, are available at WEB_CONTAINER/portal/desktop/themes/lite and WEB_CONTAINER/portal/desktop/themes/heavy directories respectively. By default, the default theme is used by the sandbox sample portal and the heavy theme is used by the enterprise sample portal.
The theme CSS files are stored either in the Portal web application or individual theme web application in the web container. The file structure in the web application is as follows:
Stylesheet for the theme
Image files, used in the stylesheet
Templates that can be customized (using Dreamweaver) by web designers
Javascript
All Javascript used in the default and heavy themes are located in the WEB_CONTAINER/portal/desktop/themes/js/scripts.js file which also loads WEB_CONTAINER/portal/desktop/themes/js/scripts.js/portalMenuHandler.js file.
WEB_CONTAINER is /opt/SUNWappserver/appserver/domains/domain1/applications/j2ee-modules/ for solaris and /opt/sun/appserver/domains/domain1/applications/j2ee-modules/ for Linux.
The themes, default and heavy, each have an associated collection in the Display Profile AvailableThemes collection:
<Collection name="AvailableThemes" propagate="false"> <Collection name="default" propagate="false"> <String name="contextPath" value="desktop/themes/ lite"/> <Boolean name="editable" value="false"/> <Boolean name="insidePortalWar" value="true"/> <Boolean name="portletControlMenu" value="true"/> </Collection> <Collection name="heavy" propagate="false"> <String name="contextPath" value="desktop/themes/ heavy"/> <Boolean name="editable" value="false"/> <Boolean name="insidePortalWar" value="true"/> <Boolean name="portletControlMenu" value="false"/> </Collection> </Collection> |