events - EventBus.subscribe() in SAPUI5 -


i new eventbus() function in sapui5. using eventbus.publish() in table.view.js controller publish data & have used eventbus.subscribe() in mainpage.view.js controller. working fine. while try implement eventbus.subscribe() in controller ("feed.view.js"), not working. why so?

the cause of problem 1 of following:

  • you not using same eventbus in cases (e.g. in 1 case use sap.ui.getcore().geteventbus(), , in case use component's ocomponent.geteventbus())
  • you not using same channel
  • you not using same event id

please check this, , if doesn't post more of code.


Comments

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -