Hi Team,
I have faced one issue in calling the XML fragment view on clicking on button.
I have created one fragment view inside the view and controller folder.
Please find the code,
<core:FragmentDefinition xmlns:core="sap.ui.core" xmlns:mvc="sap.ui.core.mvc" xmlns="sap.m"
xmlns:html="http://www.w3.org/1999/xhtml">
<Button xmlns="sap.m"
id="id"
busy="false"
text="Button">
</Button>
</core:FragmentDefinition>
.
I have called the fragment view from the controller.
this._Dialog = sap.ui.xmlfragment
("/Dialog",this.getView().getController());
this._Dialog.open();
But system is not able to find the path of the file.Can you please help me on this,
In the index file i have load the local resource.
sap.ui.localResources("library");
Thanks
Nishant