We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70e831 commit 775a6ceCopy full SHA for 775a6ce
webapp/controller/CreateEntity.controller.js
@@ -59,7 +59,9 @@ sap.ui.define([
59
var that = this,
60
oModel = this.getModel();
61
//Get the Path
62
- var sPath = oEvent.getSource().getBindingContext().getPath();
+ var sPath = "/Participant";
63
+ // Causes Bug Registration not possible with newest SAPUI5 #21
64
+ // var sPath = oEvent.getSource().getBindingContext().getPath();
65
// TODO added by Gregor, 2016-08-02: There should be a better way than reading all values and adding to the model
66
oModel.setProperty(sPath + "/FirstName" ,this.getView().byId("idFirstName").getValue());
67
oModel.setProperty(sPath + "/LastName" ,this.getView().byId("idLastName").getValue());
@@ -359,4 +361,4 @@ sap.ui.define([
359
361
}
360
362
363
});
-});
364
+});
0 commit comments