{
    "type": "Ext.app.Controller",
    "reference": {
        "name": "items",
        "type": "array"
    },
    "codeClass": null,
    "userConfig": {
        "designer|userClassName": "Risk"
    },
    "designerId": "048846ac-7edb-455a-97ff-fec5146341b8",
    "cn": [
        {
            "type": "basicfunction",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "designer|params": [
                    "data"
                ],
                "fn": "formatText",
                "implHandler": [
                    "var controller = MyApp.app.getController('ShowDetails');\r",
                    "if(!Ext.isEmpty(data.description)) {\r",
                    "\tcontroller.showText(this.getRiskDescription(), data.description);\r",
                    "}\r",
                    "if(!Ext.isEmpty(data.audit_objectives)) {\r",
                    "\tcontroller.showText(this.getRiskObjectives(), data.audit_objectives);\r",
                    "}\r",
                    ""
                ]
            },
            "designerId": "871c858d-5df6-4ebd-9b1e-61a974d9776a"
        },
        {
            "type": "controllerref",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "ref": "riskDescription",
                "selector": "#riskDescription"
            },
            "designerId": "7d2ce564-767f-4bf6-9bda-ebf0c5f69f52"
        },
        {
            "type": "controllerref",
            "reference": {
                "name": "items",
                "type": "array"
            },
            "codeClass": null,
            "userConfig": {
                "ref": "riskObjectives",
                "selector": "#riskObjectives"
            },
            "designerId": "3e2bf8cb-75f5-4506-9c81-dc781c9c5e30"
        }
    ]
}