Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

View.js UI5 v1.30

Could somebody tell me, how the js-view (template) will look like with the new UI5 v1.30, to call the controller. There are only examples for the xml-view, but not for the js-view.

Example: old

How this would look like with v1.30?

sap.ui.jsview("test.test", {
  getControllerName : function() {
  return "test.test";
  },

  createContent : function(oController) {
  return new sap.m.Page({
  title: "Title",
  content: [ 
  ]
  });
  }
})

Thanks

Tags:

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question