TabSheet widget - bluesoft-rnd/aperte-workflow-core GitHub Wiki

Allows to group other widgets in tab structures, using Vaadin TabSheet component. For each children widget a separate tab is going to be constructed. Some of the children widget attributes may be used to customize the tabs.

This widget is part of Base Widgets plugin.

Attributes

This widget does not support attributes.

Children attributes

Attribute name Type Required Default value Description
caption String False Allows to set the caption text, displayed as the tab name

Elements

Element name Type Required Default value Description
children mixed False Definitions of children widgets.

Permissions

This widget does not support permissions.

Examples

This example shows how to put together two VerticalLayout widgets inside one TabSheet widget.

<config.ProcessStateWidget className="TabSheet">
    <children>
        <config.ProcessStateWidget className="VerticalLayout" priority="1">
            <attributes>
                <config.ProcessStateWidgetAttribute name="caption" value="Submission data"/>
            </attributes>
            <!--- rest of children widget definition ... --->
        </config.ProcessStateWidget>
        <config.ProcessStateWidget className="VerticalLayout" priority="5">
            <attributes>
                <config.ProcessStateWidgetAttribute name="caption" value="Process data"/>
            </attributes>
            <!--- rest of children widget definition ... --->
        </config.ProcessStateWidget>
    </children>
</config.ProcessStateWidget>

⚠️ **GitHub.com Fallback** ⚠️