You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Watch the video tutorial on this

Before we can begin, please make sure that you have completed Building From Source. In this article, we are going to show you on how to create a Userview Theme.

Create new Maven Project

  1. Download wflow-plugin-archetype.zip
  2. Create new project using the following instruction.
  3. When you are ready, open your project in your Netbeans.

Create a new UserviewTheme file

  1. Create a new Java file that would be used for the Userview theme.
  2. You may copy implementation codes from the existing DefaultTheme in wflow-core project.

Copy resources from existing themes

  1. Create your theme files at "src/main/resources/themes/green/"
  2. Copy properties definition file from "wflow-core/src/main/resources/properties/userview/defaultTheme.json"
  3. Copy message file from "wflow-consoleweb/src/main/resources/message/userview"

Customize your theme

Make the necessary changes in naming to reflect your new theme.

Activate your theme

In Activator.java, add the newly created UserviewTheme class into the BundleActivator activation list.

Build and upload the plugin

When you are ready, build and upload the plugin in the "Manage Plugins" section in the "System Settings" of your Joget console.

After uploading the plugin, preview the newly created Userview theme in one of your Apps.

  • No labels