Sun Java System Communications Express 6 2005Q4 Customization Guide

ProcedureTo Customize a Theme for a Specific Domain

Steps
  1. Create a directory with the name same as the domain name in <domain-dir> directory. For example, create <domain-dir>/siroe.com directory

  2. Copy uwcdomainconfig.properties file from <domain-dir> to the <domain-dir>/siroe.com directory.

  3. Modify the parameter uwc-user-attr-sunUCTheme to the required theme name in uwcdomainconfig.properties file in <domain-dir>/siroe.com directory. For example, to configure a theme “christmas“set uwc-user-attr-sunUCTheme=christmas. To configure a theme called “christmasJA” for japanese locale, set uwc-user-attr-sunUCTheme-ja=christmasJA. To configure a theme called “christmasFR” for french locale, set uwc-user-attr-sunUCTheme-fr=christmasFR. The parameter “uwc-user-attr-sunUCTheme” is used for default locale. It is important that though the theme name could be anything, the property name should end with corresponding locale as mentioned in the example.

  4. Create the directories <skin-dir>/christmasJA, <skin-dir>/christmasFR and <skin-dir>/christmas.

  5. Copy themes.properties from <skin-dir>/ to <skin-dir>/christmasJA, <skin-dir>/christmasFR and <skin-dir>/christmas

  6. Edit the corresponding themes.properties to point to the customized style sheets and images.

  7. For help on various parameters in this file, refer to the Appendix D of the Communications Express Administration Guide. Look for “themes.properties” under the “Configuration Parameters Reference” section.

  8. Restart the web server to apply changes.