FOLDER item type

Defines a layout area to hold folder pages.

FOLDER item basics

A FOLDER form item type groups folder pages together. Folder pages are defined with the PAGE form item.

Defining an FOLDER

The FOLDER form item is just a container for PAGE items.
FOLDER ...
   PAGE ...
      ...
   PAGE ...
      ...

Where to use a FOLDER

A FOLDER form item can be defined in different ways:
  1. In a FOLDER container in a LAYOUT tree, within a grid-based layout.
  2. As a FOLDER stack item, inside a STACK container, within a stack-based layout.

FOLDER rendering

Front-ends support different presentation and behavior options, which can be controlled by a STYLE attribute.

The rendering of the folder tabs can be controlled with the position style attribute.

When using the values "top", "left", "right" and "bottom", the folder is rendered as a classic folder/page view, with folder tabs at the required position. Default is "top".

When using the value "accordion", the folder pages can be collapsed and expanded.
Note: The "accordion" position is only supported by the GBC front-end.

When the position style attribute is "accordion", the collapserPosition style attribute can be used to define the position of the collapser icon.

The "lateRendering" style attribute can be used to control how folder layout is computed. By default, the layout of all folder pages is computed on initial form loading, to make all folder pages equal in height. This can impact performances, when the form defines folder with many pages (or many folders). The folder rendering can be optimized by setting the lateRendering style attribute to "yes": The folder page height is measured as it opens. The form height grows to the largest yet opened folder page.

For more details, see Folder style attributes.