Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Installing your custom theme is easily done by putting all files in the 

Include Page
_HomeFolder
_HomeFolder
 folder. For example when a theme is created named "custom_dashboard" which consists of an index file, a JavaScript file and a CSS stylesheet, installation would be as follows:

Java

  1. Create a UI/mvc folder in 
    Include Page
    _HomeFolder
    _HomeFolder
     and put the custom index file (for example custom_dashboard.stg) here.
  2. Create a webresources/mvc folder in 
    Include Page
    _HomeFolder
    _HomeFolder
     and put the JavaScript and CSS files here (optionally in /js and /css subfolders).
  3. Add a configuration section for your custom theme to aquima.properties in 
    Include Page
    _HomeFolder
    _HomeFolder
     root, as described in the Configuration section below.

.NET

 

Configuration

In order to configure your theme so it will be known by the Runtime several properties must be set. The following example shows properties for registering a theme named "custom_dashboard" in both Java and .NET:

Code Block
languagetext
titleProperties for registering a custom theme in Java
mvc.themes=custom_dashboard
mvc.custom_dashboard.templateGroupFile=UI/mvc/custom_dashboard.stg
mvc.custom_dashboard.templateName=main

...