Top

Creating Reusable Components

One of the strengths of the WebObjects' architecture is its support of reusable components: components which once defined, can be used within multiple applications, multiple pages of the same application, or even multiple sections of the same page.

Table of Contents

Introduction

Benefits of Reusable Components

Centralizing Application Resources
Navigation Control in HTML
Navigation Control with WebObjects
Revising the Navigation Control
Simplifying Interfaces
A Simple Alert Panel

Intercomponent Communication

Alert Panel Allowing User Input

Synchronizing Parent and Child Components

Search Path for Reusable Components

Designing for Reusability

Examples

See the Reusable Components Examples to test a number of simple but useful custom components and examine their source code.


First Section