Unable to bind action "Object.method" from loadStruct json

Hello, i’m having a problem with calling Object.method from json loaded in loadStruct this is my example

/*jslint browser: true*/
var app = {},
    structJSON,
    testing;
app.testing = function () {
    "use strict";
    window.alert("working! app.testing");
};
testing = function () {
    "use strict";
    window.alert("working! testing");
};
app.crearInterface = function () {
    "use strict";
    app.myLayout = new dhtmlXLayoutObject({
        parent: document.body,
        pattern: "1C",
        skin: "dhx_skyblue"
    });
    structJSON = [
        {
            "id":      "testing",
            "type":    "button",
            "value":   "",
            "title":   "Testing Method",
            "text":     "Testing Method not work",
            "action":    "app.testing"
        }, {
            "id":      "testing",
            "type":    "button",
            "value":   "",
            "title":   "working test",
            "text":     "working test",
            "action":    "testing"
        }
    ];
    app.myToolbar = app.myLayout.attachToolbar();
    app.myToolbar.loadStruct(structJSON);
};
window.addEventListener('load', app.crearInterface);

is there some way to use class.method in “action” parameter ?

very very thanks

You may only use the name of the function in the action attribute.

You can use onClick event instead of action, event handler can call method of any class.

docs.dhtmlx.com/api__link__dhtml … event.html