After you have added and set up all of the visual and nonvisual parts for the To-do List application, you can implement the program logic by making connections between the parts.
To do this, follow these steps:
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. |
In the standard VisualAge version of the To-do List example, you connect the push buttons in the user interface directly to the actions of the OrderedCollection part. But in the Web Connection version of the application, these same connections originate from the events of the Form Data part. Remember that the To-do List application is actually a series of pages, each one showing the current contents of the list. Each page comes from the same VisualAge part (WebToDoList), but from the browser's perspective, they are different pages.
The actions of the OrderedCollection, therefore, are not triggered by the push buttons on the currently loaded page, but rather by the push buttons on the previous page. Likewise, the push buttons on the current page will affect the contents of the next page.