Skip to Content
0

Split App Dump

Oct 26, 2016 at 11:20 PM

15

avatar image

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");

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers