t_Controllable_Composite

Composite : Layout

A container that displays its child views in columns - in the root of a layout.

Description

Composites don't have much structure of their own. They don't introduce any visual noise. Using fewer of them is a good idea for simplicity and to avoid generating extra markup as they do introduce a new div for each composite.

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 : uiIdentifierA 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 : stringCaption textcols : integerNumber of columns in the layoutenabled : stringEnablement flag association path or expressionfluid : booleanTrue to enable special view positioning for space minimizationname : identifierUnique view nameValid 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 : identifierAccess privilegeValid 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 : stringDefault 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


Example

xml
...
   <Composite name="tblRootLayout">
      <LayoutRef layout="mda:EntityHolder" head="true" name="EntityList"/>
      <LayoutRef association="EntityList customFields" caption="ids.CFGroup3" layout="mda:CustomFieldListGrouped" head="true" name="ref""/>
   </Composite>
</Portlet>

Parents

Parent topic: Dialog_Actions_Layout

Parent topic: Layout

Parent topic: t_LayoutRef_Layout