Web Connection User's Guide
To add static form data to a Web Connection part, do the
following:
- Create an HTML file with <INPUT> tags. For example:
<HTML>
<HEAD>Hello and Goodbye World Form
</HEAD>
<BODY>
<FORM METHOD="POST">
<INPUT TYPE="text" SIZE="20" NAME="HelloText">
<INPUT TYPE="text" SIZE="20" NAME="GoodbyeText">
</FORM>
</BODY>
</HTML>
- Generate an HTML file wrapper class named HelloFormWrapper for
the HTML file. See Setting up the HTML File Wrapper.
- Create a new Web Connection part of class HelloWithForm.
- Delete the Page part.
- Add a part of class name HelloFormWrapper.
- Place the HTML file wrapper part, HelloFormWrapper1, within the
free-form surface.
- Select Form Data from the Web Connection category. Add the Form
Data part to an empty area within the free-form surface.
- Select the Form Data part and open the Properties window to show the Form
Data part's properties.
- Select the pagePart property. In the Value
field, select HelloWithForm to specify the class of the Form Data
part.
- Close the Properties window.
The Form Data for the HelloWithForm part now contains the form
data of the HTML file that was wrapped by the HTML file wrapper.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]