{
    "type": "Ext.form.Panel",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "bodyPadding": 10,
        "cls": [
            "formpanel"
        ],
        "container|align": "stretch",
        "designer|userAlias": "rubrosform",
        "designer|userClassName": "RubrosForm",
        "height": null,
        "initialTitle": "rubro",
        "itemId": null,
        "layout": "vbox",
        "scrollable": true,
        "title": null,
        "trackResetOnLoad": true,
        "width": null
    },
    "configAlternates": {
        "bodyPadding": "auto",
        "container|align": "string",
        "designer|userAlias": "string",
        "designer|userClassName": "string",
        "height": "auto",
        "itemId": "string",
        "layout": "string",
        "scrollable": "auto",
        "title": "string",
        "width": "auto",
        "cls": "typedarray",
        "initialTitle": "string",
        "trackResetOnLoad": "boolean"
    },
    "name": "LotesForm1",
    "designerId": "96f48973-be1b-4f21-b5ed-c1a6180c845c",
    "customConfigs": [
        {
            "group": "(Custom Properties)",
            "name": "initialTitle",
            "type": "string"
        }
    ],
    "viewControllerInstanceId": "605d398a-bdb8-4dfe-ab1d-9eee2f1ca46d",
    "viewModelInstanceId": "f14d5cdb-cf91-40f0-8c5c-62d574d3aa02",
    "cn": [
        {
            "type": "Ext.form.field.Text",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "editable": false,
                "enableKeyEvents": true,
                "fieldLabel": "Codigo",
                "layout|flex": null,
                "name": "codigo"
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "editable": "boolean",
                "fieldLabel": "string",
                "layout|flex": "number",
                "name": "string",
                "enableKeyEvents": "boolean"
            },
            "name": "MyTextField20",
            "designerId": "716f3cef-8fef-4289-9f7f-d75a837c20f1"
        },
        {
            "type": "Ext.form.field.Text",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "allowBlank": false,
                "blankText": "Este campo es obligatorio",
                "enableKeyEvents": true,
                "fieldLabel": "Descripcion*",
                "layout|flex": null,
                "name": "descripcion"
            },
            "configAlternates": {
                "allowBlank": "boolean",
                "blankText": "string",
                "fieldLabel": "string",
                "layout|flex": "number",
                "name": "string",
                "enableKeyEvents": "boolean"
            },
            "name": "MyTextField1",
            "designerId": "6320e8f1-3b61-41a5-88aa-d45efcc48059"
        },
        {
            "type": "Ext.container.Container",
            "reference": {
                "name": "dockedItems",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "container|align": "stretch",
                "container|pack": "center",
                "dock": "bottom",
                "layout": "hbox",
                "layout|flex": null
            },
            "configAlternates": {
                "container|align": "string",
                "container|pack": "string",
                "dock": "string",
                "layout": "string",
                "layout|flex": "number"
            },
            "name": "MyContainer1",
            "designerId": "9cd13b13-0fb7-408b-82d4-c9a127f25769",
            "cn": [
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "iconCls": "x-fa fa-check",
                        "layout|flex": null,
                        "layout|margins": "",
                        "margin": 10,
                        "text": "Aceptar"
                    },
                    "configAlternates": {
                        "iconCls": "string",
                        "layout|flex": "number",
                        "layout|margins": "string",
                        "margin": "auto",
                        "text": "string"
                    },
                    "name": "MyButton6",
                    "designerId": "6da5e953-c62f-4c10-b906-29440ad3c501",
                    "cn": [
                        {
                            "type": "fixedfunction",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "designer|params": [
                                    "button",
                                    "e"
                                ],
                                "fn": "handler",
                                "implHandler": [
                                    "var formWrapper = this.up('[cls=formpanel]');",
                                    "if(formWrapper.getForm().isValid()) {",
                                    "  f_crud.save_form(formWrapper);",
                                    "}"
                                ]
                            },
                            "configAlternates": {
                                "designer|params": "typedarray",
                                "fn": "string",
                                "implHandler": "code"
                            },
                            "name": "handler",
                            "designerId": "49db097b-253d-493b-8caa-1157e0e819d9"
                        }
                    ]
                },
                {
                    "type": "Ext.button.Button",
                    "reference": {
                        "name": "items",
                        "type": "array"
                    },
                    "codeClass": null,
                    "userConfig": {
                        "iconCls": "x-fa fa-remove",
                        "layout|flex": null,
                        "margin": 10,
                        "text": "Cancelar"
                    },
                    "configAlternates": {
                        "iconCls": "string",
                        "layout|flex": "number",
                        "margin": "auto",
                        "text": "string"
                    },
                    "name": "MyButton7",
                    "designerId": "862b19e1-7621-4886-adda-2dd141918d25",
                    "cn": [
                        {
                            "type": "fixedfunction",
                            "reference": {
                                "name": "items",
                                "type": "array"
                            },
                            "codeClass": null,
                            "userConfig": {
                                "designer|params": [
                                    "button",
                                    "e"
                                ],
                                "fn": "handler",
                                "implHandler": [
                                    "f_crud.close_form(this.up(\"[cls=formpanel]\"));"
                                ]
                            },
                            "configAlternates": {
                                "designer|params": "typedarray",
                                "fn": "string",
                                "implHandler": "code"
                            },
                            "name": "handler",
                            "designerId": "20471dda-0f5e-4c46-95c3-9e13ad8793a8"
                        }
                    ]
                }
            ]
        },
        {
            "type": "basiceventbinding",
            "reference": {
                "name": "listeners",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "fn": "onFormActivate",
                "implHandler": [
                    "f_crud.setFormTitle(component);"
                ],
                "name": "activate",
                "scope": "me"
            },
            "configAlternates": {
                "fn": "string",
                "implHandler": "code",
                "name": "string",
                "scope": "string"
            },
            "name": "onFormActivate",
            "designerId": "b9e91c80-5f0d-4fde-bca2-835b34cd7c6b"
        }
    ]
}