Greetings to everyone,
I'm very new to SAPUI5 and creating basic UI5 pages; currently I'm facing one issue while using sap.ui.core.mvc.View; below are the code and error:
try{
var view=new sap.ui.core.mvc.View("view",{ viewName:"View1",
width:"100%",
height:"100%",
content :new sap.ui.commons.Label("text",{text:"User Name: "})});
view.placeAt("contain");
}
catch(ex)
{
alert(ex);
}
Please help me to understand this issue.