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

Re: Data desappear after navigations SAPUI5

$
0
0

Hi Gilles,

 

When you navigate back to main page, can you try placing this code in onAfterRendering event of main controller and check whether your model still exists with data ?

 

onAfterRendering: function(oEvent){
sap.ui.getCore().getModel("Appconf").getProperty("/results");
//(or)
this.getView().getModel("Appconf").getProperty("/results");
}

Regards,

Sai Vellanki.


Viewing all articles
Browse latest Browse all 2756

Trending Articles



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