Creating the Page's Content
A web page consists of elements. In addition to the standard static HTML elements found in all web pages, WebObjects allows you to create dynamic elements, whose look and behavior are determined at run time.To create elements, you use the buttons on the bottom row of the toolbar (or at the right of the toolbar if your window is large). The button is a pop-up list that lets you switch the group of buttons that are displayed to its right. There are four groups of buttons:
- Structures . Use these buttons to create paragraphs, lists, images, and other static HTML elements. This setting is the default.
- Tables . Use these buttons to create and manipulate HTML table elements.
- Dynamic form elements . Use these buttons to create form elements in which users enter information. WebObjects gives your application access to the data entered by users by allowing you to associate, or bind, these elements to variables in your application.
- Other WebObjects . Use these buttons to create other dynamic elements, which you can bind to variables and methods in your program to control how they are displayed. Some of these (such as hyperlinks) have direct HTML equivalents. Others are abstract dynamic elements, such as repetitions and conditionals, which determine how many times an element is displayed or whether it is displayed at all.
Table of Contents Next Section