t_LayoutRef_Layout

Layout


Properties

annotation : stringa1 ... aN: empty annotation names; must differ from domain model attribute namesattributes : stringAdditional association paths to retrievecaption : stringCaption text expressionclass : stringDomain class relative to which the layout association paths are specifiedcode : stringSemantic color code: an association path or a constant, a positive integer or a string name.description : stringLayout description, including its purposefactory : stringNew item factory event: <class> <event>|<event>icon : stringIcon name expressioniconCaption : stringIcon caption expressionimage : stringHeader background image, an association or a constant: image:<name>|<absolute image url>. <name> specifies the full image name, either with full directory path or in the default directory.imageCaption : stringHeader background image caption.reader : stringCustom read event. [<class>]'<event> <arg1> ... <argN>Specification: [<class>]'<event> <arg1> ... <argN> <class> is an optional class symbol. When omitted, the items collection class is used. <event> is a read event symbol. <arg#> is an event argument value which can be either a constant or a scheme expression evaluating to a constant at run-time on the client, using special local variables provided by the framework: this (=controller), :node (=active node), :attributes, :where, :orderBy, :count, :offset, :xlock, or a UI initializer variable. If arguments are not specified, a default list is supplied by the framework: :attributes :where :orderBy :count :offset :xlock Examples: a) Generate a request to 'readList event with default arguments: readList b) Generate request to readList event with attributes, and orderBy argument values supplied by the framework. readList :attributes :orderBy c) Generate request to Contact'readDetail with attributes supplied by the framework, and the contact argument calculated using (current-contact) client library function. Contact'readDetail :attributes (current-contact this :node) In a library: (define (current-contact controller node) ... ) d) Generate request to 'read event with a constant attribute list: read '(lastName firstName) :where :orderBy :count :offset :xlocksize : FormSizeIcon size: m|3x.Valid values based on“string”.m3xstyle : stringAdditional style name. Space separated list of class names. Adds the class names to the outer div of the element to allow for custom css styling. To load mda portlet specific css rules, place them in mod/app/portlet/<portletName.css>. Replace ':' characters with '.' for namespace elements in the portletName. Example mod/app/portlet/mda.CategoryNavigator.css

Content


Parents

Parent topic: reuseable-references