Portlet container

The portlet container is an application element that allows you to display portlets on view and edit pages.

General information on portlets can be found here.

If a portlet container is being used on a page, the setting "Use as portlet" must not be active in the page properties.

The "Portlet container" application element belongs to the element category "Other controls".

The gauge element can be found in the "Elements" section of the "Applications" module. A new portlet container can be created by dragging and dropping the element from here and positioning it on the workspace.

More information on creating elements can be found here.

The properties dialog of a portlet container element opens automatically when a new portlet container is created. The properties dialog of an existing portlet container can be opened by double-clicking on the element on the workspace, via the context menu "Properties", or via the "Edit / Properties" main menu if the portlet container is selected on the workspace.

General

Title

Provide the portlet container with a title here. Click here for more information about this topic.

Pages

Only offer pages from the current application

If this setting is enabled, any pages that are defined as a portlet are displayed in the portlet container.

Restrict to the following pages

This setting activates the application structure below the setting. Select the desired pages in the "Available" list and move them to the "Selected" list. Once a page is added to the "Selected" list, it is automatically defined as a portlet. A page cannot be selected if has already been selected, if it is the current page, it contains a portlet container or is an edit page.

Offer pages from all applications

With this option, portlet pages from all applications will be offered for selection in the container.

Restrict selection of the portlet on the web by Groovy script

If this setting is active, Groovy script can be used to control the selection of the portlet in the browser.

Restrict display of the portlet on the web by Groovy script

If this setting is active, Groovy script can be used to control the display of the portlet in the browser.

Select script file

In each case, opens a dialog, where a Groovy file can be selected or generated.

Edit script

In each case, opens the script editor.

Groovy examples

Example of how to use Groovy in this area are available here.

Parameters

Parameters can be created here for the pages integrated into the portlet container.

The portlet container distributes these parameter values to the integrated pages. For this reason, any number of semantic values can also be created for the portlet container.

For example, if two integrated pages both demand the parameter "LID" from the portlet container, the semantic value distinguishes whether a customer number or an order number is provided by the portlet container. In each case, the corresponding semantic value must then be defined on the "Parameter" tab in the properties of the integrated page so that the assignment is performed correctly at run-time.

Click here for more information about the settings in this dialog.

More information

Parameters
Portlets