Skip to Content
0
Apr 29, 2015 at 06:36 AM

BusyIndicator for synchronous model

257 Views

Hello Experts,

I'm using a JSONModel in my SAPUI5 application.

The model data loading mode is synchronous and because of that I cannot use busyDialog (js is single threaded etc...).

I can change to model mode to asynchronous but in this case I'll have to use nested callbacks.

Can someone suggest a solution that avoids "callbacks hell" or still use synchronous model AND busy dialog.

Regards,

Omri