Type to start searching...

File : Composite : Layout

File control - within a composite in a layout.

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 expression

converter : uiIdentifier

Converter name. If not specified, value type name is used to generate 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.

data : string

File data association.

enabled : string

Enablement flag association path or expression

factory : string

New item factory event: <class> <event>|<event>

head : boolean

True to start a new row in the layout

hint : string

Input hint association path or expression

icon : string

Icon name expression

lazy : boolean

True to upload the file to an already persisted instance, using a separate request.

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.

off : unsignedInt

Number of columns to skip from the previous view in the same row

pattern : string

Converter pattern

Examples include


date.m.f
currency.s
shortCurrency
percent
quantity
priceCurrency
shortDate
{0;choice;0||1|{$};*}  - this syntax allows for different treatment of plurals
{@$.fullName;link;;@i}
time.m
datetime.m.f
{@$.fullName;string;}
integer
shortTimestamp
ids.conversationsTo
#,##0.##
date.l.f
longDate
{@$.userPerson.fullName;string;}
internationalPhone

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.

span : int

Number of consecutive columns to occupy

unit : string

Converter unit association path or expression

validator : string

Value validator

value : string

Input value association path or expression

valueCaption : string

Value caption association path or expression

The association path to an attribute on this item or an expression that will be used as the caption.
Example


valueCaption="fullname"
or
valueCaption="`(string-affix ,(@ firstName) " " ,(@ lastName))"

valueIcon : string

Value icon association path or expression

Association list of association paths or constants: (image|data|type|icon|default . <a1> ... <an>|"<const>")
Example


Configuring picker value avatar for Campaign.meta

<Picker valueIcon="(image . (manager image))(data . mimeData)(type . mimeType)(icon . (manager icon))(default . &quot;icon:person&quot;)"/>

manager image - Association path from Campaign to Entity'image attribute of type Obj
mimeData - Obj'mimeData attribute of type binary returning the image data
mimeType - Obj'mimeType attribute of type string returning mime type of the image data
manager icon - Association path from Campaign to Entity'icon attribute of type string returning an icon name if the image is null
"icon:person" - A constant expression to fall back on if both image and icon are null

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.
Parents
  • CaptionLayout
  • Composite - A container that displays its child views in columns - within a tab in a layout.
  • Composite - A container that displays its child views in columns - within a switch in a layout.
  • CaptionLayout
  • Composite - A container that displays its child views in columns - within a composite in a layout.
  • CaptionLayout - Caption Layout - within a composite in a layout.
  • Composite - A container that displays its child views in columns - in the root of a layout.