Re: How to add third party JavaScript code to Shell in sapui5
Hi Sakthivel,Please check below url and help me on this. JS Bin - Collaborative JavaScript Debugging Thanks Ravi Varma
View ArticleRe: Touch Events in sap.ui.Panel
Sure... I created a JS file and stored it in my project folder. It is name hte same as the Control. Here, TouchPanel. The code in TouchPanel is: jQuery.sap.declare("js.TouchPanel");...
View ArticleRe: Something it´s going bad with SAPUI5 says "Hello OData" to NetWeaver Gateway
Hi Viru. The problem has solved, It was a silly detail in HTML page. I was not using the slash "/" in a call method. I had to...
View ArticleRe: Logout-button back to login-page with sapui5? (student-question)
This worked for me:oShell.attachLogout(function(){ jQuery.ajax({ url: '/sap/public/bc/icf/logoff', async: false }).success(function(){ alert('You have been logged out'); }).complete(function(){...
View ArticleRe: Where to get demo applications source code
Hi Jiri, I'm just curious - why do you need SAPUI5 and not OPENUI5? Thx,ben
View ArticleRe: getIconURI of undefined error
Hi Krishna, I included the require statement but i get the following error then - Uncaught Error: failed to load 'sap.ui.core.IconPool' from...
View ArticleCreate dynamically a number of Input Fields
hi all, one issue about creating dynamically a range of Input fields: i have one sap.ui.layout.form.FormContainer.at first i want to have one Input field in it. if this field is filled, i want to have...
View ArticleRe: Create dynamically a number of Input Fields
1) Solution sounds good to me2) You can do it in multiple ways:you can use content aggregation from FormContaineryou can access Input field by id (you would need to follow some kind of convention when...
View ArticleRe: ComponentContainer does not return aggregations?
this.getView().byId("testSearchField").getComponent().getAggregation("rootControl");
View ArticleRe: Applications Events not triggered while loading sap.m library via...
what do you mean by " The application events are not triggered "
View ArticleRe: OData & UI5 - Create Entry with Stream
try smth like (where ContractSet is the name of entity set) var oContext = oModel.createEntry("ContractSet"); var rootObject = oContext.getObject();.........
View ArticleRe: Create dynamically a number of Input Fields
Hi Alexander. The approach doesn't sound robust. Say the user fills the input in field1, fileld2 will be created. Then the user fills input in filed2, field3 will be created. Now, what if the user...
View ArticleRe: failed to preload 'sap.m.routing.library-preload':
I have added the library - sap.ui.core.routing and get the below error: Uncaught Error: failed to load 'sap/ui/core/routing/library.js' from resources/sap/ui/core/routing/library.js: 404 - NOT FOUND
View ArticleRe: failed to preload 'sap.m.routing.library-preload':
It's not required to add the routing. its loaded by default. It comes under sap.ui.core. you can start using it.
View ArticleRe: failed to preload 'sap.m.routing.library-preload':
Now i have different error message: failed to load 'sap/m/routing/Routemacthedhandler.js' from resources/sap/m/routing/Routemacthedhandler.js: 404 - NOT FOUND
View ArticleRe: failed to preload 'sap.m.routing.library-preload':
Why are you repeatedly referring the sap.m library for routing. For a moment take a look at the api reference https://sapui5.hana.ondemand.com/sdk/#docs/api/symbols/sap.ui.core.routing.htmlReplace all...
View ArticleRe: ComponentContainer does not return aggregations?
so, what about this.byId("__component0")? what does it return?
View ArticleRe: Pre-requisites for UI5 Application development using eclipse
Hi S.Vikgnesh, my answers: 1) The mentioned website is very informative and helpful, but i recommend to install a Java-Webserver for development and local deployment. All information about doing this...
View ArticleRe: SAPUI5: Hiding a via setVisibility not working
It looks like a defect. I recommend putting it up on jsbin & submitting a bug report. An alternate workaround is to hook the onAfterRendering event & use jQuery .css("display", "none") to hide...
View ArticleRe: Pre-requisites for UI5 Application development using eclipse
Take a look at the SAPUI5 PersonList tutorial. It includes detailed instructions (including some obscure configuration) for setting up the development environment. It's fairly current as well.
View Article