Onclick of Save in Edit page, once all the validations are completed, I want to do some operations. For that i am using below code. How can I make sure there are no more validation error occurred in the edit page using this piece of code, and i can do my operations
aspect.after(ecm.widget.dialog.EditPropertiesDialog.prototype,"onSave", function(event){
console.log("*********inside EditPropertiesDialog onsave loop************");
if (this._itemEditPane.isValid(true, false, true)) {
console.log("********1**********");
this._itemEditPane.save(lang.hitch(this, function() {
this.hide();
if (this._callback) {
this._callback();
}
}));
}
console.log("*********END EditPropertiesDialog onsave loop************");
});
#IBMContentNavigator(ICN)#Support#SupportMigration