Re: Code completion for XML Views
In case you're not tied to Eclipse, you could also use JetBrains WebStorm; with some configuration code completion/validation for SAPUI5 JS and XML works like a breeze! Configuring JetBrains WebStorm...
View ArticleRe: How to bind Aggregate a list to Object rather than array in a JSON model?
As far as I know, you cannot do it. Maybe someone else can shed some lights. -D
View ArticleTrouble configuring On-Premise Gateway Services with SAP River RDE
I have been trying to follow the document How to Set up your SAP River RDE on HANA Cloud for being able to use our on premise Gateway Services on the SAP River RDE online development tool....
View ArticleRe: Trouble configuring On-Premise Gateway Services with SAP River RDE
Nitin, My experience is here. Setting up River RDE with On-Premise SystemYou may go through it.
View ArticleRe: Trouble configuring On-Premise Gateway Services with SAP River RDE
I was able to figure out the problem. Apparently I had not followed the instructions to the letter. I had the proxy type incorrectly set to "Internet" as opposed to "On Premise". It works now!
View ArticleRe: UI5 - Enable Button on XML View
Hi, So this is possible programatically (but not recommended) by using sap.ui.getCore().byId("idViewRoot--idViewDetail--rejectButton")This should get you the button object. Note that you have to...
View ArticleRe: Data Binding not working
Hi, I am not sure why you are using a JSON model as a result of an OData read call. Just set the odata model on the core/component and use that? Second point I notice is that you have named your model....
View ArticleRe: UMCUI5 Server
Hi, It is always tricky getting the breakpoints to hit in the login code. What user did you use for the breakpoints? Make sure they are remote breakpoints . Since if it is a login class, you can't be...
View ArticleRe: Can't access Listelement via elementById
I tried this before: onAfterRendering: function() { var element = $("#__status0-Master--list-0"); console.log(element); //logs a really complex object console.log(element.attr('class')); //logs...
View ArticleRe: Can't access Listelement via elementById
Hi Silvio, You can try delaying getting the jQuery element with setTimeout: setTimeout(function(){ var element = $("#__status0-Master--list-0"); console.log(element); //logs a really complex...
View ArticleRe: Can't access Listelement via elementById
Hi, The thing is that the element which you are trying to retrieve is created in DOM after onAfterRendering method is called. It is created once the control get a model data. You can add a css class in...
View ArticleRe: Data Binding not working
I guess I am slightly confused by your snippet. The first section the code, that gets the data and sets the model on the core, is naming the model as "orderDetailModel":...
View ArticleRe: How to use the XMLHttpRequest object to Grag info in the HTML "h1" tag on...
Hi Bob, You could use regular expressions. Another option is using jQuery and constructing html elements from the string and then parsing dom: var html = $.parseHTML( xmlhttp.response);var el =...
View ArticleRe: How to use the XMLHttpRequest object to Grag info in the HTML "h1" tag on...
Thank you for your response, I am totally new to JQueryHow is the best way to trouble shoot this I assume that I am missing a library???I see Response is that so i assume is must be ParseHTML?var html...
View ArticleRe: How to use the XMLHttpRequest object to Grag info in the HTML "h1" tag on...
Oh, I thought you were using SAPUI5 which contains jQuery library. Here's a plain JavaScript way of doing the same: var fragment = document.createDocumentFragment(); var container =...
View ArticleRe: How to use the XMLHttpRequest object to Grag info in the HTML "h1" tag on...
Thank you again, Yes I am using UI5 using Appbuilder, so not sure what i am missing. I have Jquery in there already.I assume this is a Jquery statement:setTimeout(function() {$('#' +...
View ArticleMultiples graphs (sap.viz) using one dataset (Flattened) - Just one graph is...
Hi all, I'm giving a try in SAPUI5 using a Cloudshare instance. I'm facing an issue which seems to be a bug for me but as I don't understand SAPUI5 in details, it's better to ask first. After reading...
View ArticleRe: How to use the XMLHttpRequest object to Grag info in the HTML "h1" tag on...
Thank you that worked great I still have to play with it a little as you can see Font size is in there. <h1><font size=4>Relay Server 12.0.1.3769</font></h1> Thank you again....
View ArticleRe: Updating oData model
Hi Benoit, it seems that oModel is not in the global namespace (or window) that is why it is not defined. Try getting reference to it first with: var oModel = sap.ui.getCore().getModel(); or with var...
View ArticleRe: Select a Table Row on Checkbox Click
Thanks Dennis, I faced issues when I used filter in the table. Then I did like below.Hi Sandip, If you have filterProperty in columns of your table, then it will help to select after filtration also....
View Article