{ "name": "Форма с группами и командной панелью", "preRun": [ { "script": "meta-compile/scripts/meta-compile", "input": { "type": "DataProcessor", "name": "СГруппами" }, "args": { "-JsonPath": "{inputFile}", "-OutputDir": "{workDir}" } }, { "script": "form-add/scripts/form-add", "args": { "-ObjectPath": "{workDir}/DataProcessors/СГруппами.xml", "-FormName": "Форма" } } ], "params": { "outputPath": "DataProcessors/СГруппами/Forms/Форма/Ext/Form.xml" }, "validatePath": "DataProcessors/СГруппами/Forms/Форма/Ext/Form.xml", "input": { "title": "Группы", "elements": [ { "cmdBar": "КоманднаяПанель", "autofill": true }, { "group": "horizontal", "name": "ГруппаШапка", "behavior": "usual", "showTitle": true, "title": "Шапка", "horizontalStretch": true, "groupHorizontalAlign": "Right", "throughAlign": "Use", "verticalAlign": "Top", "childItemsWidth": "Equal", "horizontalSpacing": "None", "children": [ { "input": "Поле1", "path": "Поле1", "title": "Поле 1", "width": 20, "skipOnInput": true, "mask": "999-999" }, { "input": "Поле2", "path": "Поле2", "title": "Поле 2" }, { "labelField": "Метка", "path": "Поле1", "groupVerticalAlign": "Center" } ]}, { "group": "vertical", "name": "ГруппаПодвал", "behavior": "collapsible", "collapsed": true, "title": { "ru": "Подвал", "en": "Footer" }, "collapsedTitle": "Развернуть подвал", "showLeftMargin": false, "enableContentChange": false, "verticalSpacing": "None", "displayImportance": "Low", "children": [ { "input": "Поле3", "path": "Поле3", "title": "Поле 3" } ]} ], "attributes": [ { "name": "Объект", "type": "DataProcessorObject.СГруппами", "main": true }, { "name": "Поле1", "type": "string" }, { "name": "Поле2", "type": "decimal(15,2)" }, { "name": "Поле3", "type": "date" } ] } }