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