Versions Compared

Key

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

Anchor
top
top

In This Section

Table of Contents
maxLevel2

...

In Adding an Input Field to a Component - 1, the main XperienCentral component types element, panel and media item are described. This section describes the component types presentation, service, form, and servlet.

Presentation Component
Anchor
presentation_component
presentation_component

A presentation component contains all the files that make up the layout of the website environment. By default XperienCentral comes with one presentation plugin named “XperienCentral Corporate". In the context of this document, a style refers to the layout objects that are contained by a presentation component (including JSPs, images, etc.).

...

When creating presentation plugins, be sure that they conform to the  WCB Development Guidelines (G083-G098, G138, G139, G140, G142, G143 and G144 in particular).

Using Multiple Styles at the Same Time

It is possible to have two (or more) styles installed on the same XperienCentral installation at the same time without them conflicting with each other. In order to do so the following two rules must be followed:

...

In this case the different styles will be available in XperienCentral and can be assigned to pages, elements, etc., individually. When a style is removed by uninstalling the presentation component which publishes the style, only those elements that were specifically assigned to this style are affected. Henceforth, these objects will use the default style instead.

Using One Runtime Style

The opposite approach is to have multiple presentation components each of which overwrites the other. Only one presentation component will be active at a time. In this case the following rules must be followed:

...

Be aware that between the first and second step the website will have no style and so is practically "offline". This only lasts for a short time if you install the new style immediately.

 

Back to Top

 

...

Service Component

A service component is a component that provides a (usually headless) service that can be used by other plugins. Typical services are, for example, an authorization service, license service or preferences service. They provide functionality that is available for all plugins, therefore they are implemented as a service.

...

When creating service components, be sure that they conform to the development guidelines (G083-G098, G112 and G151 in particular).

 

Back to Top

 

...

Form Component

A form component can be used to deploy form handlers into the XperienCentral application without a server restart. The form archetype generates a handler with an empty implementation. To implement the handler the doHandle method of the handler must be implemented.

When creating form components, be sure that they conform to the development guidelines (G083-G098 in particular).

 

Back to Top

 

...

Servlet Component

A servlet component is a component that registers a servlet which is mapped to a predefined URL. The syntax of this URL is:

...