I'm starting on OPENUI5/SAPUI5 and I was trying to access the data for the controls i've implemented. For example:
<Label text=Amount />
<Input id=inputAmount value={Amount} />
<Text id=lblCurrency text=USD >
- How to get the programatically values for inputAmount or lblCurrency?
- Initially i'm using a mockup-server, how to get access to the odata model programatically? I'm using:
console.log( this.getView().getModel().getJSON() );
I can't get the structure, but i had deployed the data on the objects and actually is showed on screen.