Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- onAfterRendering: function() {
- var oModel = this.getOwnerComponent().getModel("employee");
- var oModel2 = this.getOwnerComponent().getModel("localJSON");
- oModel.read("/employeeSet", {
- success: function(oData, response) {
- oModel2.setProperty("/employeeData", oData.results);
- oModel2.setProperty("/myProperty", "signatov.com");
- }
- }
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement