You can use IBM
™ API to communicate between a form and a web page. The web page can be in an XFDL pane item, or it can be inside a modal dialog box.
API to transfer data between the form and the web page. Although the use of Dojo Toolkit is described, you can modify the technique to use other toolkits.
Except for minor differences in file paths, the forms and web pages in the Webform Server and Viewer versions of the tutorials are identical. The differences in the file paths are due to the way that the sample servlet that comes with Webform Server handles relative URLs. It is possible to design a servlet so that the file paths can be identical. However, because the tutorial relies on the sample servlet, some adjustments to the file paths are required.
If your forms are served by Webform Server but viewed inside Viewer embedded in an HTML page, follow the tutorial for Webform Server.