Skip to Content
0

SAPUI5 with Two models in the same view, is this possible?

Jun 15, 2017 at 10:02 PM

115

avatar image
Former Member

I am trying to build a web application within SAP WEB Ide, I am trying to use two lists in one screen and assign them two diferent models but It won't let me.

I was wondering if anybody would suggest me to use another framework instead of SAPUI5, or there is a way to achieve this? Not sure if SAPUI5 could get very complex

SAP WEB Ide won't let me assign it, but maybe programatically there is away? If anybody have an example I would appreciate!

sa1.png (39.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Sharath M G Jun 16, 2017 at 06:38 AM
0

Web IDE allows you to import multiple models. By default only one model is executed by framework.

You need to manually execute the other models based on the user action/logic.

Regards,

Sharath

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Do you have an example on how to do so? I would appreciate!

0
Jun Wu Jun 16, 2017 at 01:14 AM
0

no problem for ui5. you can assign n number of model.

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Do you have an example on how to do so? I would appreciate!

0

YOURUICONTROL.setModel(YOURMODEL,"MODELALIAS")

1