Skip to Content
0
Sep 22, 2019 at 09:54 AM

Error while loading a fragmnet as a popover from the controller

72 Views

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