title: SAPUI5- Data binding not working
body: <p>I am trying to bind data from controller to view but for some reason I am unable to display data in the view.
  I am setting the model using the following code:</p>
  
  <pre class="lang-js prettyprint-override"><code>var oModel = new sap.ui.model.json.JSONModel();
  oModel.setData(oObject);
  this.getView().setModel(oModel);
  console.log("DATA:--&gt;"+ JSON.stringify(this.getView().getModel().getData()));
  </code></pre>
  
  <p>The console statement prints the data properly but in the view the data is not appearing. Am I missing something. I am unable to find the problem.</p>
  
  <p>My View: </p>
  
  <pre class="lang-html prettyprint-override"><code>.....
  &lt;form:SimpleForm
      id="iform"
      minWidth="1024"
      maxContainerCols="2" &gt;
      &lt;Label text="Name"/&gt;
      &lt;Text text="{NAME}"/&gt;
      &lt;Label text="Age"/&gt;
      &lt;Text text="{AGE}"/&gt;
  &lt;/form:SimpleForm&gt;
  .....
  </code></pre>
  
  <p>Thanks in advance.</p>