Hi everyone. I'm trying to Bind a control to a JSON Model, but doesn't seem to be working:
// Model With Data
var lco_Model = new sap.ui.model.json.JSONModel(
{ Data: [ { task : "done",
value : "10" },
...
Hi everyone. I have been trying to create a view using 'SET' functions, but no luck. The code below works.
var lco_View = new sap.ui.view(
{ id: "Tasks",
viewName: "zbc_ui5_app01.Tasks",
type: sap.ui.core.mvc.ViewType.JS
});
lco_MasterShel...
Hi everyone.The following code works:
var oDialog = new sap.ui.commons.Dialog();
oButton = new sap.ui.commons.Button();
oButton.setText("Close");
oButton.attachPress(HandleButtonClick);
oDialog.addButton(oButton);
// Open Dialog
oD...
Hi everyone. The following works:
var oDialog = new sap.ui.commons.Dialog();
oDialog.setTitle(sName);
oButton = new sap.ui.commons.Button();
oButton.setText("Close");
oButton.attachPress(HandleButtonClick);
oDialog.addButton(oButton...
Yes that is absolutely correct. Where do we find the syntax for this? I searched the OpenUI5 API like crazy, and even the "Code Complete" in Eclipse doesn't pick up this method!
Sorry for the late reply. I'm also using the constructor method in my example, I just want to know whether it is possible to assign the values using "SETTER" functions.
var oMeasure = new sap.viz.ui5.data.MeasureDefinition();
oMeasure.setName("Qty")...
Yes the constructor method works without any problems. But how would I bind the value at a later stage? In the output I see whatever text resides between the two brackets '{' '}', but not the bound value. If I mention, "{value}", the actual string ...
Ok. For others that are still looking for these answers, I did some research and: 1) This is just a Gateway for AS ABAP, not the NetWeaver Gateway Services. Hence, installing Gateway under 'Standalone Installations' is insufficient. 2) Can install SA...