Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3576

Re: Problem: Splitapp getBindingContext() undefined

$
0
0

This is my solution:

 

component.js define a name for model:

...

oView.setModel(projectModel, "MasterModel");

 

app.controller give modelname:

...

page.setBindingContext(context, "MasterModel");

 

detail.controller get access with:

...

this.getView().byId("ProjectDetails").getBindingContext("MasterModel");

 

 

Thanks for all help


Viewing all articles
Browse latest Browse all 3576

Trending Articles