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

SAPUI5 Call OnInit() Function

$
0
0

Hi Experts,

 

I use xml view and js controller on my SapUI5 App.

 

My problem is that, For example I have 2 page and I use this.nav.to("2.page") func. to navigate betwwen view.

When I nav.to second page first time, 2. page controller call onInit(), onAfterRendering() and onBeforeRendering() functions. After than I nav back to 1. page and nav.to 2.back there  doesn't call any function.So I don't do anything second time call 2.page.

 

 

How can call OnInit function whenever nav.to 2.page or

Are there any function like as pageonload in SAPUI5?

 

 

 

thanks,


Viewing all articles
Browse latest Browse all 2878

Trending Articles



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