Type to start searching...

Tabs : Portlet/Dialog

A container that displays its child views in tabs - in the root of a portlet or dialog.

Description

Tabs containin one or more container views that must have either an icon or caption (or both) to show up.

Composites, Tabs, and Switches are container views. They contain other views and may contain each other to any depth. e.g. Composite->Tabs or Tabs->Switch->Tabs

In Portlets and Dialogs, they are mainly used to organize Layouts. In Layouts, they are mainly used to organize Controls e.g. Charts, Tables, Cards, ...

Properties
augment : uiIdentifier

A path to the view to augment with this view.

Augmentation rules depend on the types of augmented and augmenting views. When augmented view is a layout, such as Composite, Tabs, or Switch, and augmenting view is also of the same type, the children views will be added to the augmented layout. When both augmented views are layouts but of different type, the augmenting view is inserted next to the augmented one. When augmented view is primitive, the augmenting view is inserted next to it.
Valid values based on“string”.
:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*

Value must begin with a letter. Case and length are not restricted. Letters and numbers are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.

caption : string

Caption text

enabled : string

Enablement flag association path or expression

name : identifier

Unique view name

Valid values based on“string”.
:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*

Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.

privilege : identifier

Access privilege

Valid values based on“string”.
:?[\p{L}_][\p{L}\p{N}_]*(:[\p{L}_][\p{L}\p{N}_]*)*

Value must begin with a letter or an underscore. Case and length are not restricted. Letters, numbers and underscores are allowed. Colon is used as a scope separator. Spaces and other punctuation characters are not allowed.

visible : string

Default visibility flag association path or expression

Default visiblity set to a control but value can be overriden by script, client state, or control-specific mechanism such as setListColumn in a table.
Content
  • Sequence of:

    • CaptionLayout [0..1] - CaptionLayout descripton - portlet tabs

    • Choice of:

      • Composite [1..1] - A container that displays its child views in columns - within tabs in a portlet or dialog.

      • Tabs [1..1] - A container that displays its child views in tabs - within a tab in a portlet or dialog.

      • Switch [1..1] - A container that displays only one of its child views at a time - within tabs in a portlet or dialog.

      • LayoutRef [1..1]

      • Card [1..1]

      • PortletRef [1..1]

      • Toolbar [1..1]

      • Entry [1..1]

      • Label [1..1]

      • Button [1..1]

Example

xml
<Portlet>
   <Tabs name="group">
     <Composite caption="ids.coverageGroups" name="tabOpptyCoverageTeamList">
        <LayoutRef layout="mda:OpportunityCoverageTeamListCustomize" head="true" name="frmOpptyCoverageTeamList"/>
     </Composite>
     <Composite caption="idss.Customize.templates" name="tabOpportunityTemplate">
        <LayoutRef layout="mda:OpportunityTemplateList" head="true" name="frmOpportunityTemplateList"/>
     </Composite>
  </Tabs>
</Portlet>

Parents
  • Portlet - Portlets are the basic UI components that make up an application. They host one or more Layouts and present features to end users.
  • Dialog - Dialogs are similar to Portlets, but are specifically used for creating, editing, and presenting information in a transactional, rather than informational way.