Skip to Content
0
Former Member
Apr 09, 2014 at 10:02 AM

Navigating between views

20 Views

Hi Experts,

I am trying to do navigation between two views and in one view I have created one tile container and added four tiles and atlast added to the page.

But in that page only title is visible and tiles are not showing up. Below is my code :

createContent : function(oController) { var tilecont = new sap.m.TileContainer({ tiles: [ new sap.m.StandardTile({ icon : "sap-icon://download", number : "1", title : "Generate Template", info : "To generate template", infoState : "Success", press:function(){ app = sap.ui.getCore().byId("FinbApp"); app.to("gentemplview"); } }),new sap.m.StandardTile({ icon : "sap-icon://upload", number : "2", title : "Template Upload", info : "To upload a template", infoState : "Success", press:function(){ app.to("page2"); } }),new sap.m.StandardTile({ icon : "sap-icon://expense-report", number : "3", title : "Reports", info : " Reports", infoState : "Success", press:function(){ app.to("page3"); } }),new sap.m.StandardTile({ icon : "sap-icon://group", number : "4", title : "My Delegations", info : "Delegation", infoState : "Success", press:function(){ app.to("page4"); } }) ], });

return new sap.m.Page({ title: "Financial Bridge", content: [tilecont] }); }

Please help me on this.

Thanks in advance.

Regards,

Murali Krishnan N