Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Click on the Form Properties icon in the toolbar at the top of the form.
  2. Select the Document Actions tab and the Send Data sub-tab.
  3. Select Manually set document URIs.
  4. You should see the Document name 'customerCreditLimit', which is the data source we are interested in.
  5. Set the Read and Write URLs to: http://localhost:8082/database/BIRT/customerCreditLimit?cnum={sc}
  6. Set the Read method to GET.
  7. Set the Write method to PUT.
  8. Click the Finish button.

Image Modified

This step indicates to  that the 'customerCreditLimit' document is linked to the above URL via the READ method GET and the WRITE METHOD PUT.  will issue an HTTP GET request to the above URL and if an XML document conforming to the schema above is returned,  will automatically initialize controls in the form using that document. The URL itself is a dynamic URL and has a parameter indicated by {sc}. When the value of the control named 'sc' changes (which will happen when the user selects a customer),  will automatically issue an HTTP GET to the above URL using the new customer number and will dynamically update the values of the credit Limit and cnum controls without refreshing the form.

...