Create Module HowTo

(Difference between revisions)
Jump to: navigation, search
(Create Module)
(Create and Install Message Bundle)
Line 7: Line 7:
 
Next we need to create and install message bundle for our new module, so will be able to customise all workplace labels based on user's selected language. This requires the following steps:-
 
Next we need to create and install message bundle for our new module, so will be able to customise all workplace labels based on user's selected language. This requires the following steps:-
  
- Create messages class.
+
# Create messages class.
- Create action class and initiate the message bundle as part of the action class.
+
# Create action class and initiate the message bundle as part of the action class.
- Create your module specific workplace.properties file.
+
# Create your module specific workplace.properties file.

Revision as of 10:07, 13 March 2007

Introduction

this HowTo will take you through a process of creating your own module extension to OpenCms administration view.

Create Module

First you must create module container for your extension. Creation of a new module is described in detail at Defining_OpenCMS_structured_XML_content#Step_1_.E2.80.93_Create_the_module_and_configure_it. Make sure that you select all module folders to be created.

Create and Install Message Bundle

Next we need to create and install message bundle for our new module, so will be able to customise all workplace labels based on user's selected language. This requires the following steps:-

  1. Create messages class.
  2. Create action class and initiate the message bundle as part of the action class.
  3. Create your module specific workplace.properties file.
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox