jquery - Can I use SAP UI5 mockserver without having a oData model -


backend : jersey backend frontend : sapui5 application json model

i use jquery.ajax() calls make requests backend. mock these requests , load mock data quick poc.

the mockserver provided sapui5 seems work odata model. can used json models? https://sapui5.netweaver.ondemand.com/#docs/guide/bae9d90d2e9c4206889368f04edab508.html

thanks in advance.

for json models don't need mockserver actually. in component.js try load json model below

var omodel = new jsonmodel(uritojson); this.setmodel(omodel); 

uritojson link mock file

ivan


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -