t_TreeType_StaticNode
StaticNode
Properties
caption : stringString indentifier to represent text associated with the StaticNode.
collection : stringIf blank, the node isn't data driven. Otherwise, the node will be dynamically driven from the collection specified here.
An expression that specifies that a collection model must be set on the control.- Example
"" (empty string, or null) - all instances of the associated class for Forms and form controls. No collection for other controls like MenuItems.
(@@ ClassName) - all instances of the class specified by ClassName
(ControlName1 assoc1 ... assocN) ... (ControlNameM assoc1 ... assocX) - all instances filtered by the parent instances.
(@ assoc1 ... assocN) - variant of above example. All instances relative to the Form model.
collectionAnnotation : stringSpace separated list of annotations which do not exist in the Domain Model.
collectionLazy : booleanLoad the collection on display, not when the screen is loaded.
If true, the query for the dynamic node will only be executed when the node is displayed. Otherwise, the node will be loaded when the screen is loaded.collectionNew : stringAlternative association path to use for create. Subclass name is optional. Format: "assoc1(SubClassName) ... assocN(SubClassName).
collectionOrderBy : stringOptional order by clause to be added to the node 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 : stringList of additional attributes to include in collection read query.
collectionWhere : stringOptional clause to be added to collection model query.
deletePrompt : stringDelete prompt string indentifier. Valid if promptOnDelete is true.
The string indentifier may accept the Class name, and instance name args.detail : booleanSpecifies if the node shows detail on first view.
exclusive : booleanIf true lack of selection means disabling children collection query. Otherwise, children query is generated.
expanded : booleanSpecifies if the StaticNode is expanded on first view.
icon : stringIcon provides a means of visual recognition for the StaticNode.
menu : identifierThe menu associated with the StaticNode.
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.
name : uiIdentifierUniquely identifies the StaticNode.
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 : PagingPaging 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.
promptOnDelete : booleanPrompt the user before deleting an item.
recursion : stringTODO: comment attribute recursion
type : stringAn association path or an attribute which specifies that StaticNode drives polymorphic DynamicNodes.
The "(@)" expression specifies polymorphic switch on the model class.- See
- DynamicNode'case
Content
Sequence of:
t_StaticNodeType_DynamicNode [0..*]
Parents
Parent topic: g_HolderContentsGroup_Tree