NReco Layout DSM Documentation viewBasic UI view. | Attribute | Type | Required | Description | | name | xs:string | Yes | Unique view name. It can be used for view route, for instance. | | caption | xs:string | No | |
datasourcesView data sources. actionView actions. | Attribute | Type | Required | Description | | name | viewActionNameType | Yes | Action name determines when it should be executed. |
Data Source:dalc| Attribute | Type | Required | Description | | id | xs:string | Yes | Data Source ID. It should be unique in the view scope. | | sourcename | xs:string | Yes | Data source name (database table name or data view name) for select/update/insert/delete operations. | | selectsourcename | xs:string | No | Data source name for select operation. | | condition | xs:string | No | Data condition (relex syntax). | | insertmode | xs:boolean | No | Determines whether datasource should return empty new row for select operation if no resoults found. |
Data Source:condition
Renderer:field| Attribute | Type | Required | Description | | name | xs:string | Yes | Field name (usually it is refers to database table field name or object property). | | format | xs:string | No | Format expression. | | lookup | xs:string | No | Provider name that should be used as 'lookup'. |
Renderer:listGeneric ASP.NET ListView | Attribute | Type | Required | Description | | edit | xs:boolean | No | | | add | xs:boolean | No | | | datasource | xs:string | No | |
Renderer:formGeneric ASP.NET FormView | Attribute | Type | Required | Description | | caption | xs:string | No | | | datasource | xs:string | No | |
Renderer:updatepanelASP.NET Update Panel.
Renderer:expression
Renderer:linkbuttonASP.NET Link Button. | Attribute | Type | Required | Description | | caption | xs:string | Yes | Fixed caption | | command | xs:string | Yes | Command name (depends from context). Possible values for linkbuttons inside "form"/"list" are "insert", "edit", "cancel", etc. | | validate | xs:boolean | No | Enables "form" validation for this linkbutton |
Renderer:linkHTML link. | Attribute | Type | Required | Description | | url | xs:string | No | Fixed url | | caption | xs:string | No | Fixed caption |
Renderer:url
Renderer:caption
Renderer:googlechartGoogle Chart Renderer:mschartMS Chart Renderer:tabsJQuery UI Tabs Control | Child | Required | Description | | tab | No | |
Renderer:tab| Attribute | Type | Required | Description | | caption | xs:string | No | Fixed tab caption |
Renderer:widgetJQuery UI Widget | Attribute | Type | Required | Description | | caption | xs:string | No | Fixed widget caption |
Renderer:toolbox
Renderer:vfsmanagerVFS-based file manager | Attribute | Type | Required | Description | | filesystem | xs:string | Yes | Filesystem component name |
Editor:textboxASP.NET TextBox Control Editor:textareaASP.NET multiline TextBox Control | Attribute | Type | Required | Description | | rows | xs:integer | No | |
Editor:checkboxASP.NET CheckBox Control Editor:dropdownlistASP.NET DropDownList Control | Attribute | Type | Required | Description | | lookup | xs:string | Yes | "Lookup" provider name (should return entries list) | | value | xs:string | No | Entry member name that should be used as value | | text | xs:string | No | Entry member name that should be used as visible text |
Editor:checkboxlistASP.NET CheckBoxList-based relation editor. | Attribute | Type | Required | Description | | id | xs:string | No | |
Editor:relation| Attribute | Type | Required | Description | | sourcename | xs:string | Yes | | | left | xs:string | Yes | | | right | xs:string | Yes | |
Editor:lookup| Attribute | Type | Required | Description | | name | xs:string | Yes | | | text | xs:string | Yes | | | value | xs:string | Yes | |
Editor:multiselectJQuery Multiselect-based relation editor. | Attribute | Type | Required | Description | | id | xs:string | No | |
Editor:relation| Attribute | Type | Required | Description | | sourcename | xs:string | Yes | | | left | xs:string | Yes | | | right | xs:string | Yes | |
Editor:lookup| Attribute | Type | Required | Description | | name | xs:string | Yes | | | text | xs:string | Yes | | | value | xs:string | Yes | |
Editor:datepickerJQuery DatePicker. Editor:markitupJQuery MarkItUp Textarea editor. | Attribute | Type | Required | Description | | rows | xs:integer | No | |
Editor:jwysiwygJQuery Wysiwyg Textarea HTML-editor. | Attribute | Type | Required | Description | | rows | xs:integer | No | |
Validator:required
Validator:regex
formFieldGroup:fieldForm field | Attribute | Type | Required | Description | | name | xs:string | No | Context object member name for the field | | caption | xs:string | No | Fixed caption | | format | xs:string | No | Format string for the field value (like '{0:d}') | | lookup | xs:string | No | "Lookup" provider name | | view | xs:boolean | No | Enables field for view (readonly) form | | edit | xs:boolean | No | Enables field for edit form | | add | xs:boolean | No | Enables field for add form | | layout | formFieldLayoutType | No | |
| Child | Required | Description | | editor | No | Editor for the field | | renderer | No | Custom renderer for the field |
views| Child | Required | Description |
Expression:route| Attribute | Type | Required | Description | | name | xs:string | Yes | |
Expression:context| Attribute | Type | Required | Description | | name | xs:string | Yes | |
Expression:request| Attribute | Type | Required | Description | | name | xs:string | Yes | |
Expression:format| Attribute | Type | Required | Description | | str | xs:string | Yes | |
Expression:get| Attribute | Type | Required | Description | | name | xs:string | Yes | |
Expression:lookup| Attribute | Type | Required | Description | | service | xs:string | Yes | |
Expression:dictionary| Child | Required | Description | | entry | No | |
Expression:entry| Attribute | Type | Required | Description | | key | xs:string | Yes | |
Operation:redirect| Attribute | Type | Required | Description | | url | xs:string | No | |
Operation:set| Attribute | Type | Required | Description | | name | xs:string | Yes | |
Operation:databind
buttons| Attribute | Type | Required | Description | | view | xs:boolean | No | | | edit | xs:boolean | No | | | add | xs:boolean | No | |
baseListElemsGroup:pager| Attribute | Type | Required | Description | | allow | xs:boolean | No | | | pagesize | xs:integer | No | |
baseListElemsGroup:sort| Attribute | Type | Required | Description | | field | xs:string | Yes | | | direction | sortDirectionType | Yes | |
baseListElemsGroup:action| Attribute | Type | Required | Description | | name | listActionNameType | Yes | |
baseListElemsGroup:field| Attribute | Type | Required | Description | | name | xs:string | No | Context object member name for the field | | caption | xs:string | No | Fixed caption | | format | xs:string | No | Format string for the field value (like '{0:d}') | | lookup | xs:string | No | "Lookup" provider name | | view | xs:boolean | No | Enables field for view (readonly) form | | edit | xs:boolean | No | Enables field for edit form | | add | xs:boolean | No | Enables field for add form | | sort | xs:boolean | No | |
| Child | Required | Description | | editor | No | Editor for the field | | renderer | No | Custom renderer for the field |
googlechartGroup:bar| Attribute | Type | Required | Description | | width | xs:integer | Yes | | | height | xs:integer | Yes | | | title | xs:string | No | | | type | chartBasicBarTypeEnum | No | | | orientation | chartBasicBarOrientationEnum | No | |
googlechartGroup:pie| Attribute | Type | Required | Description | | width | xs:integer | Yes | | | height | xs:integer | Yes | | | title | xs:string | No | | | type | chartBasicPieTypeEnum | No | |
googlechartGroup:line| Attribute | Type | Required | Description | | width | xs:integer | Yes | | | height | xs:integer | Yes | | | title | xs:string | No | |
mschartGroup:bar| Attribute | Type | Required | Description | | width | xs:integer | Yes | | | height | xs:integer | Yes | | | title | xs:string | No | | | type | chartBasicBarTypeEnum | No | | | orientation | chartBasicBarOrientationEnum | No | |
mschartGroup:pie| Attribute | Type | Required | Description | | width | xs:integer | Yes | | | height | xs:integer | Yes | | | title | xs:string | No | | | type | chartBasicPieTypeEnum | No | |
mschartGroup:line| Attribute | Type | Required | Description | | width | xs:integer | Yes | | | height | xs:integer | Yes | | | title | xs:string | No | |
|