on 09-16-2014 5:18 PM
Hi Experts,
I have implemented a progress dialog like described in the documentation. It works locally on my tomcat, but when I load the project to the ABAP stack I got following message:
Uncaught TypeError: Cannot read property 'opened' of undefined
The error appears when the dialog opened.
Here the part of the source:
if (!this._dialog) {
this._dialog = sap.ui.xmlfragment("BusyDialog", this);
this.getView().addDependent(this._dialog);
}
// toggle compact style
jQuery.sap.syncStyleClass("sapUiSizeCompact", this.getView(),
this._dialog);
this._dialog.open(); // HERE THE ERROR appears
Why this works only locally?
Best regards,
Christoph
Hi Christoph,
did you check if the UI5 version on the ABAP stack is is greater or equal to the UI5 version you have locally?
Fragments were introduced with version 1.16.2 (the experimental flag was removed with version 1.20).
Regards,
Florian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.