Add a Data Provider

Using an object array data provider will make the types contained in Result-Element visible through the IDE. This, in turn, will make component binding easy.

  1. Select Design in the editing toolbar to return to the design view.
  2. Expand the Data Providers node in the Components palette.
  3. From the Data Providers Components palette, select Object Array Data Provider and drop it on the design view.You'll see component obj ectArray-DataProviderl in the Page1 Outline view.
  4. In the Properties window, change the object array data provider's id property to myResultObject.
  5. Still in the Properties window, select the drop down opposite property array and select resultArray. This connects the data provider to the array returned in the GoogleSearchObject.
0 0

Post a comment

  • Receive news updates via email from this site