Previous
Previous
 
Next
Next

Switching the Active Theme

When you switch to a theme, all components with assigned templates are assigned to a corresponding template in the theme. Application Builder accomplishes template mapping through the assignment of template class identifiers.

You can only switch to a theme if that theme exists. For example, before you can switch to a theme available in the repository, you must first create it. See "Creating a Theme".


Tip:

Note that if multiple templates for the same class exist, a warning may display when you switch themes. To remove this warning, you must correct the template.

To apply a theme to an application:

  1. Navigate to the Themes page:

    1. On the Workspace home page, click the Application Builder icon.

    2. Select an application.

    3. Click Shared Components.

    4. Under User Interface, select Themes.

  2. Click Switch Theme.

    The Switch Theme page appears.


    Tip:

    If you do not have at least two themes installed, click Create Theme. You can create a theme from scratch or simply select an existing theme from the repository. See "Creating a Theme".

  3. From Switch to Theme, select the new theme and click Next.

  4. Review the Status column to identify problematic mappings:

    • Check indicates the mapping was successful.

    • Warning indicates there are more than one template in the theme you are switching to with the identified class. The warning provides a select list from which to choose the appropriate template.

    • Error indicates that Application Builder was unable to map the class among the themes. Ensure that a class is identified for the templates in both themes.

  5. Click Next to continue.

  6. Click Switch Theme.

Updating an Older Application with a New Theme

Oracle Application Express ships with 20 themes. A number of these themes have been updated and include a new more modern style.

If you import or upgrade and application from a previous Oracle Application Express release, the appearance of the application will not change. In order to obtain the newer theme, you must:

  1. Switch to another theme. See "Switching the Active Theme".

  2. Re-create the theme you want to use from the repository. "Creating a Theme".

  3. Switch to that new theme. "Switching the Active Theme"