Quantcast
Channel: SCN: Message List - SAPUI5 Developer Center
Browsing all 8124 articles
Browse latest View live

Re: ajax calls in ui5

can you provide the API URL and how to call it? Thanks-D

View Article


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 Article


Re: 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 Article

Image may be NSFW.
Clik here to view.

Should 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 Article

Re: 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 Article


Re: SAPUI5 Google Map

Thanks a lot Christian Ladron, Really this is very helpful   Thanks,Shambhu Nath

View Article

Re: 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 Article

Re: 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 Article


Re: 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 Article


Re: 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 Article

Re: 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 Article

Multiple 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 Article

Re: Fiori wave 2 PR hide reject button

Hi Obaid, The oHeaderFooterOptions should be overwritten for S3 controller too. Thanks and Regards, Venkatesh

View Article


Image may be NSFW.
Clik here to view.

Re: 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 Article

Re: 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 Article


Image may be NSFW.
Clik here to view.

UI5 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 Article

Re: 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 Article


Re: HTTP Post to Odata service

what happens if you put "" around the parameters? i.e. data: { "ID" : "0020", "PE_NUMBER" : "a1212" }

View Article

Re: HTTP Post to Odata service

The same result.Request payload is the same with or without quotes:ID=0020&PE_NUMBER=a1212

View Article

Re: 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
Browsing all 8124 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>