Skip to Content
Jan 31, 2016 at 07:43 PM

UI5 Navigation from the table line item issue


Hi Experts,

In the fiori app, we have 3 pages. Using - sap.ui.getCore().byId("idapp").to("idCompDetailsPage"); to navigate to an another view.

In the second view, we have the table with item navigation option. When the line item is getting pressed, based on the quantity it should navigate to the 3 rd view with the details of the that item.

For the first round it works fine. From the 2nd round on wards, Like after the navigation to 2nd view from the 3rd view, using back button, again from 2nd view table, if I press the different item it is not getting the details relevant of the next item (different item) that is not getting refreshed. it is showing the first pressed item details only.

During the debugging, it is not triggering the on before rendering event. I have written the code to fill the 3rd view in the on before rendering event only. For the first time it is going though that event and fills the details.

Could you please give me your inputs? thanks much for any help on this...

Example code html:

sap.ui.localResources("view"); var Prodpage = sap.ui.view({





var app = new sap.m.App( { id:"idapp", pages:[compPage, serPage], initialPage:"idProdDetail" }); app.addPage(Prodpage); app.placeAt("content");