cancel
Showing results for 
Search instead for 
Did you mean: 

Error while loading a fragmnet as a popover from the controller

0 Kudos

Hello guys,

I am getting below error while loading a fragment from controller.

Uncaught Error: failed to load 'null/ResponsivePopover.js' from resources/null/ResponsivePopover.js: 404 -

Please find below code snippet:

_getPopover : function () {

// create dialog lazily

if (!this._oPopover) {

// create popover via fragment factory

this._oPopover = sap.ui.xmlfragment( "opensap.manageproducts.ManageProducts.view.ResponsivePopover", this); this.getView().addDependent(this._oPopover); } return this._oPopover;

},

Please help in understanding the issue here. Thanks in advance

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hello, Thanks for your response. I have found the issue and corrected

junwu
Active Contributor
0 Kudos

something wrong with the fragment. show us the code