Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 8076

Change data before view display

$
0
0

Hi Experts,

 

I have a UI5 (Fiori like) app, and I want to reset some fields/texts/buttons before the view appears on the page.

It's possible to do this on the onInit function, but it runs only once, before the view and the controller is initiated. But than when I choose another element from the list, I get the same view but with different context.

 

How is it possible to join an event to this context change, and based on the new context redetermine some data?

 

 

Any ideas are appreciated.

 

 

David


Viewing all articles
Browse latest Browse all 8076

Trending Articles



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