Hi Vijay,
On doing a some research in my application I found that only one oModel can be set for a application. Is it so?
Further I want to navigate on clicking this login button to another xml view in my ui5 application.
onLogin: function() {
var oRouter = sap.ui.core.UIComponent.getRouterFor(this);
oRouter.navTo("splitapp");
}
The above code is what I have put for navigating between views. But I am not able to navigate.
Please provide suggestions as to where I am going wrong.
Thanks,
Srinivasan