Portlet Factory, Version 6.1.2


 

Setting the global theme

You can set a single property to specify a theme file to be used within a project.

The theme file set by the property makes the theme available to each model in your project. The bowstreet.themeFile property in the cluster.properties file controls the theme setting.

Change the global theme for a project as follows:

  1. In the \WEB-INF\config folder, open the override.properties file.

    Create one if it does not exist.

  2. In the override.properties file, search for the string bowstreet.themeFile.

  3. If the string does not exist, enter a line similar to the following one.
    bowstreet.themeFile=/WEB-INF/proj_files/proj.uitheme

    If the string exists, change the value of the property to point to the new theme.

    The theme file that you use must be located outside the factory folder. This action keeps your project content separate from product-supplied files.

  4. Save and close the file.

The theme is available to each model in your project. The default values in related builder inputs are obtained from the project theme.

Parent topic: Themes and user interface control


Library | Support |