on 11-25-2016 10:43 AM
Hi,
I was wondering if it's possible to use two models in the same binding.
I tried this:
tiles="{DB>{SETTINGS>selectedDB}/0}">
So I want to use the selected key from the SETTINGS model, to set the entityset from the DB model.
But that doesn't work... 🙂
Any ideas?
Kind regards,
Robbe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robee- I recommend you to please dont use two models for single databinding. It could be better if you could use aggreation concepts.
ex: [
{
Uname: "Robee",
Settings : [
{
DBName: "Toobee"
}
]
}
]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robbe,
I don't know whether this type of expression works or not but lets assume if this is correct than you need to check your controller code that after complete binding of the SETTINGS model than only binding of DB should be applied. On change or data received sap.ui.model.binding events on SETTINGS model binding you can bind the DB model.
Try this might be this works .
Thanks
Viplove
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.