Skip to Content
avatar image
Former Member

Split App Dump

Hi All,

I am doing example from below link, it was in eclipse.

https://www.youtube.com/watch?v=Kztqu6rXR78

I am trying in WEBIDE it is giving dump when getting instance of second view.

2016-10-27 04:42:10.860185 adding element with duplicate id 'myApp' -

Uncaught Error: Error: adding element with duplicate id 'myApp' at

Code

var OIntroPage = sap.ui.view( {id:"Introid", viewName:"ZSPLITAPPDEMO.view.ZVIEW1", type: sap.ui.core.mvc.ViewType.JS });

var OMasterpage = sap.ui.view( { id:"Masterid", viewName:"ZSPLITAPPDEMO.view.ZVIEW2", type: sap.ui.core.mvc.ViewType.JS });

var OsplitApp = new sap.m.SplitApp("zAppId",{} );

OsplitApp.addMasterPage(OIntroPage);

OsplitApp.addDetailPage(OMasterpage);

OsplitApp.placeAt("content");

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers