Web Connection User's Guide
To build the reply page, follow these steps:
- In the VisualAge Organizer, create a new part called
WebExampleReplyPage. Specify Web Connection part as the part
type. In the Composition Editor, you should see a single subpart, a
Page, on the free-form surface.
- Select Text from the Web Connection category. Place the Text part
within the Page. Repeat this two more times, so you have a total of
three Text parts.
- Hold down the Alt key and click mouse button 1 on the first Text
part. Then change the text so it reads:
Hello,
followed by a space.
- Open the properties of the third Text part.
- Select the object property. In the Value
field, select the ... button to open a prompter where you
can edit the text. This prompter is useful for entering long blocks of
text.
- In the prompter, change the text of the part so it reads:
! Welcome to Web Connection!
- Select OK to close the prompter.
- Select Form Data from the Web Connection category. Add the Form
Data part to an empty area of the free-form surface.
- Select the Form Data part. The Properties window now shows the Form
Data part's properties.
- Select the pagePart property. In the Value
field, specify WebExampleInputPage.
- Close the Properties window.
- Make a connection from the Name Field attribute of the Form
Data to the string attribute of the second Text part.
- Save the part and select
to test it.
- Note:
- Before you can test a Web Connection application, you must set up the Web
Connection server interface. See Setting up the Web Connection server interface for more information about setting up WSI.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]