Hi,
Please let me know how to refresh/update the detail page in the SplitApp.
I have the Search function in the Master page and the result from this search function will be displayed in the Detail page. Only the first trigger, I can get the result in the detail page and I couldn't get the result from the second trigger onwards. Can you tell me how to refresh the detail page "bisearch" ?
Search function in Master page
function Search(evt) { var searchValue=evt.oSource.mProperties.value; if (searchValue != "") { oController.onNavButtonTo(evt, searchValue); } }
Controller in Master page:
onNavButtonTo: function(evt, data) { console.log("data:" + data); var bindingContext = evt.getSource().getBindingContext(); var bus = sap.ui.getCore().getEventBus(); bus.publish("nav", "to", { id : "bisearch", data : { //context : bindingContext context: data } }); },
Regards