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'socomponent.geteventbus()
) - you not using same channel
- you not using same event id
please check this, , if doesn't post more of code.
Comments
Post a Comment