ProcessData container form elements - bluesoft-rnd/aperte-workflow-core GitHub Wiki

Container form elements are part of ProcessData widget used to group other form elements into more organized aggregations. Usually each of provided container elements is based on one of concrete implementation of Vaadin ComponentContainer interface.

Common attributes

All container form elements support two attributes in addition to common attributes.

Attribute name Type Required Default value Description
spacing Boolean False False If set to true, the container will provide additional spacing between children elements.
widgets Any Form Element False - List of form elements that are contained by this container. Any other form element can be used here, regardless of its nature or nesting.

List of elements

align

Form element allowing to explicitly define alignment of its children elements. Its usage is constrained by the outer container. The outer container must implement Layout.AlignmentHandler interface, otherwise this element will have no visible effect.

attributes
Attribute name Type Required Default value Description
pos String True - Allows to set children element alignment. Possible values are: left-top, left-middle, left-bottom, center-top, center-middle, center-bottom, right-top, right-middle, right-bottom.

grid

Form element used for grouping other elements into grid structure with predefined number of rows and columns.

attributes
Attribute name Type Required Default value Description
cols Integer False - Value representing the number of columns inside grid
rows Integer True - Value representing the number of rows inside grid

form

Form element used for grouping other elements into FormLayout.

attributes

This form element has no additional attributes.

hl

Form element used for grouping other elements into horizontal structure.

attributes

This form element has no additional attributes.

vl

Form element used for grouping other elements into vertical structure.

attributes

This form element has no additional attributes.