Re: Is there a way to check to see if model has changed/updated before...
Hi Stam, You can use below code. window.onbeforeunload = confirmExit; function confirmExit() { return "You have attempted to leave this page. If you have made any changes to the fields without...
View ArticleRe: How to insert a table into another table.
I have table.When i click on the row of the table.I want displaay one more table.How can i achieve that?
View ArticleShould CacheControlFilter section be removed from web.xml when "Cache Buster"...
Hi All, In an app to counter the load times I now started using Cache Buster which is working fine. But just out of curiosity I also saw that in web.xml I have the following section CacheControlFilter...
View ArticleRe: Data binding issue with JSON Model
Hi, I am wondering why are you using to Models? You can simply get data into JSON model. Please look at the below code. var oModel = new sap.ui.model.json.JSONModel();serviceUrl =...
View ArticleRe: SAPUI5 Google Map
Thanks a lot Christian Ladron, Really this is very helpful Thanks,Shambhu Nath
View ArticleRe: How to insert a table into another table.
In the table's rowSelectionChange event handler, check the size of the result from method getSelectedIndices. If the array size is bigger than zero (which means one or more rows are selected), set the...
View ArticleRe: Is there a way to check to see if model has changed/updated before...
To my knowledge, there's currently no flag which indicates if a model attribute has changed, but you could of course implement your own 'dirty flag' which is set to 'true' when you make a change using...
View ArticleRe: Data binding issue with JSON Model
Hi KK FYI. When the backend is providing oData service, the SAPUI5 has oData model for it. Many features like $filter, $sort, etc are supported out of the box. Thanks-D
View ArticleRe: Data binding issue with JSON Model
Hi Vikram, change the line var oJsonModel = new sap.ui.model.json.JSONModel(oData);to var oJsonModel = new sap.ui.model.json.JSONModel({''DealCollection:oData.results}); Thanks and Regards, Venkatesh
View ArticleRe: How to use RDL model in RDE
Hi Trond, You are absolutely correct. Currently this is not possible, but we are working on integration, such that you will be able to create a River language backend model, and then integrate it with...
View ArticleMultiple controllers
Hi.. Is it possible to have 2 controllers for a single view? If yes, how can we implement it? If no then why?
View ArticleRe: Fiori wave 2 PR hide reject button
Hi Obaid, The oHeaderFooterOptions should be overwritten for S3 controller too. Thanks and Regards, Venkatesh
View ArticleRe: Custom Router Class Registeration
Like Quick and "dirty" the problem is still present in ui5.version 1.20.7 and 1.20.8, dont know why a how to example (guide) is published with non working conent..?
View ArticleRe: Data binding issue with JSON Model
Hi Venkatesh,Yes as per you suggestion if I change the JSON constructor line, it works. Thanks.But it creates one more problem. Let me explain what I am trying to do.I have OData service with following...
View ArticleUI5 Development with WAMP & Sublime Text
Hi All, I am using WAMP as my web server and Sublime text as my editor. I have created following directory structure under C:\wamp\www folderC:\wamp\www------------------------>resources (UI5 folder...
View ArticleRe: HTTP Post to Odata service
There are some other fields also. Only these two are required fields. However, I tried with all the field listed in the code. Same error.
View ArticleRe: HTTP Post to Odata service
what happens if you put "" around the parameters? i.e. data: { "ID" : "0020", "PE_NUMBER" : "a1212" }
View ArticleRe: HTTP Post to Odata service
The same result.Request payload is the same with or without quotes:ID=0020&PE_NUMBER=a1212
View ArticleRe: HTTP Post to Odata service
Do you see the application/json in the request header, and if you look at the request body does it look ok? It seems that there is a problem with the data being sent to the service, not sure I can help...
View Article