I have created a master-detail application based on the template and added a dropdown box on the master, on choosing which the detail list will get loaded.
Once the master is loaded, by default, I set the first item to selected so that the detail gets displayed -> the same as if the user selects the item
oList.setSelectedItem(aItems, true /*selected*/ , true /*fire event*/ )
Everything works fine for the first time, when I choose another item in the dropdown that has no value, a Nodata page is displayed in the detail. Again choose the first one again, the detail view is not triggered, basically the _onObjectMatched of
is not called and it keeps showing the old page. When I choose another item in the same list, it's all fine again,
But this doesn't happen if the second item chosen in the master has data. So, only when a no-data page appears, this happens.
Any advise is appreciated,