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

Re: All views are coming on the same page. Previous view is not getting cleared.

$
0
0

Hi Ramesh,

As suggested by you I changed the code and it's working fine:

 

 

1. Used "app" only once in the index file.

2. Used app.addPage(page); and app.to("nextviewid"); on each press of the tile.

 

OnPressApp1 : function(oContainer) {  var page = sap.ui.view({  id : "idApp1",  viewName : "custplogin.App1",  enableScrolling : false,  type : sap.ui.core.mvc.ViewType.XML  });  app.addPage(page);  app.to("idApp1");  app.placeAt("content");  },

 

 

Thanks a lot for your guidance.

 

Regards,

Firoz.


Viewing all articles
Browse latest Browse all 3316

Trending Articles



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