|Available elements for global theme modules.
The module that provides contributions.
- ID: The system-wide identifier for this module. The ID value is a String that must be unique in the system.
- version: The version of the module provided with this contribution. The version value uses the format major.minor.revision.
- 0..* capability
- 0..1 moduleActivation
- 0..* prereq
- 0..* contribution
Defines a theme contribution of the module.
- type: The type of content spot that this module contributes to. The value is either head, config, or menu.
- type: Declares what type of contribution is provided.
- markup: HTML markup
- css: Cascading style sheet statements.
A module that is required by another module that defines the requirement.
- ID: The ID of the required module.
- minversion: The minimum version of the required module that is required by the module that defines the requirement.
The declaration of a capability that this module delivers.
- ID: The unique name to be used for this capability.
- value: the version of the capability provided by this module. The capability value uses the format major.minor.revision.
A URI pointing to a theme module resource.
- value: The URI of the resource to be used.
- lang: The language to which the defined URI applies, for example, en_US.
Different schemes can be used within the value attribute:
Use this scheme with caution as it can severely impact performance, because the remote file is included on the server and not on the browser. When this scheme is used, remote requests are sent from the virtual machine of the portal during portal page rendering to the remote system in a synchronous manner. Therefore, the response time of the remote system affects portal page rendering time and the number of available threads available for other requests. Use HTTP only for static sources that can be cached in a proxy or HTTP server in front of portal.
Also be aware that the Ajax proxy is used to perform the remote call so that the configuration must be updated for the remote request to occur.
- http: Use HTTP to reference files that are accessible using HTTP.
- res: Use the res scheme to access an arbitrary resource, such as a JSP, a servlet, or a static file, in a web module that is installed on the server.
- dav: Use the dav scheme to access resources in the portal file store. You can also use replacement tokens for the URI value, for example:
- This means that the code
- is replaced with the value of the custom property cc.theme.context in the resource environment provider WP CommonComponentConfigService.
Declaration of a class that controls whether the module is active.
- class: The class name that implements the ModuleActiveChecker interface.
Parent topic: Registering theme modules
Declaration of a resource environment entry that specifies whether the module is active or not (values: true or false). The default value is true.
- name: The name of the parameter.
- value: The value of the parameter.