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

Re: The UI elements are not not displayed on the screen!

$
0
0

Thank you sharique, Andreas, Angel & Brian  i'm really gratefull for your support & guidance!!

Now i could see some successful working pages!

 

Below is the code i managed to come up with.!

 

 

var app = new sap.m.App("my_app", {initialPage:"page1"});

 

  var page1 = new sap.m.Page("Page1", {

  title:"Front page",

  content: new sap.m.Button("button1", {

   text:"Go to next",

      press : function(){

         app.to("page2");

                        }

  })

  });

 

  var page2 = new sap.m.Page("page2", {

  title : "Second page",

  content : new sap.m.Button("button2", {

  text : "Go back",

  press : function(){

  app.back("page1");

  } }),

 

      

                                     });

  app.addPage(page1).addPage(page2);

  return app;

 

Antony.


Viewing all articles
Browse latest Browse all 9236

Trending Articles



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