Type to start searching...

Previewer

Properties
collection : string

If blank, the Previewer isn't data driven. Otherwise, it will be dynamically driven from the collection specified here.

collectionAnnotation : string

Space separated list of annotations which do not exist in the Domain Model.

collectionLazy : boolean

Load the collection on display, not when the screen is loaded.

If true, the query for the dynamic previewer will only be executed when the previewer is displayed. Otherwise, the previewer will be loaded when the screen is loaded.
collectionNew : string

Alternative association path to use for create. Subclass name is optional. Format: "assoc1(SubClassName) ... assocN(SubClassName).

collectionOrderBy : string

Optional order by clause to be added to the Previewer query: ((attr1 . asc1) ... (attrN . ascN)).

List of attributes or attribute and boolean pairs to indicate ascending (true) or descending (false).
Example


((name . #t) (company . #f))

collectionQuery : string

List of additional attributes to include in collection read query.

collectionWhere : string

Optional clause to be added to collection model query.

context : string

The attribute, association path, or a constant specifying context indentifier to be set. For context bus adapter.

See
Application'contextImplementation
data : string

Data that is held in the Previewer control.

deletePrompt : string

Delete prompt string indentifier. Valid if promptOnDelete is true.

The string indentifier may accept the Class name, and instance name args.
edit : string

Boolean property specifying whether the insert, delete, or edit operations are allowed in the column.

enabled : string

The attribute, association path, or a constant returning boolean to set enablement.

error : string

Expression returning non-#f if the message should be treated as an error. The raw message is passed as "this".

exclusive : boolean

If true lack of selection means disabling children collection query. Otherwise, children query is generated.

fileName : string

The filename attached to be previewed.

imageAlign : Alignment

Horizontal alignment of the image.

Example


"left", "right", "center"

Valid values based on“string”.
right
center
left
imageVAlign : VAlignment

Vertical alignment of the image.

Example


"top", "bottom", "middle"

Valid values based on“string”.
top
middle
bottom
linked : string

TODO: comment attribute linked

menu : identifier

The Previewers main menu. Must refer an existing menu in the parent's collection of Menus.

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.

mimeType : string

TODO: comment attribute mimeType

name : uiIdentifier

Uniquely identifies the tabbable control.

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.

paging : Paging

Paging determines the paging behavior of 'list' UI controls.

Paging affects any control that presents lists and has an <a href="#orderBy">orderBy</a> property. An Order By attribute must have a unique index defined in the persistence mapping/schema to be used in paging. This means that each attribute bound to sortable columns in a 'pageable' grid must be indexed. If not, all rows will be retrieved to the client for sorting.
Valid values based on“string”.
auto

The model determines the best paging type to use.

The model looks at the Order By property of the UI control. If there is a unique index defined in the schema that starts with the attribute(s) listed in the Order By property, bookmark paging will be used. If there is a non-unique index defined in the schema that starts with the attribute(s) listed in the Order By property, offset paging will be used. If the Order By has no index, none-sortserver paging will be used. Enumeration value is 0.
bookmark

The model can use bookmark paging.

offset

The model can use offset paging.

none-sortclient

The model will have no paging and a sort on the server.

none-sortserver

The model will have no paging and a sort on the client.

previewVisible : boolean

Flag indicating whether the preview area will be shown.

promptOnDelete : boolean

Prompt the user before deleting an item.

query : string

List of additional attributes to include in read query.

required : string

The attribute, association path, or a constant returning boolean to set whether the value for the control is required.

If the attribute is required in the model, it takes precedence and one cannot change this setting in the UI. If the attribute is not required in the model, the requiredness can be set to an attribute, association path, or a constant returning boolean. If the value is set to #t, or the attribute value is true, the requiredness cannot be changed using 'required' view property that is set via client-side API. If the value is left blank, it is set to #f, or the attribute value is false, the requiredness can be changed using 'required' view property that is set via client-side API.
size : string

Size of the Previewer.

style : string

Style of the Previewer.

tabIndex : long

The index number of the tabbable control. Must be a long integer.

tabStop : boolean

Specifies if tabbing should stop on the tabbable control

tooltip : string

The attribute, association path, or a constant specifying tooltip.

url : string

An expression used to determine how to handle URL links from an attachment.

value : string

The attribute to which the control will bind.

visible : string

The attribute, association path, or a constant returning boolean to set visibility.

Parents