Table of Contents Previous Section
Click the plus sign in the Component display of the application window. A new component is created with the name Untitled
.
Type a name for the component.
Press Enter.
If you have a large number of components, you might want to enter a comment in the Description field to help you identify the component.
When you create a component, you're creating a subdirectory named Component.wo under the application directory. There are three parts to a component: an HTML template, a script, and bindings between the two. You use WebObjects Builder's component window to create these three parts. "Components" in the introduction to the WebObjects Developer's Guide describes other things that can go into a component.
In many cases, you'll want to use components that already exist. Reusing components is one of the powerful features of WebObjects. If the component already exists, you can add it to the application.
Note: The menu command File->New creates a new component that is not added to your application.