Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8509

sap.ui.core.mvc.View

$
0
0

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);

  }

 

Error.png

Please help me to understand this issue.


Viewing all articles
Browse latest Browse all 8509


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>