Documentation Archive Developer
Search
Table of Contents Previous Section 

Custom WebObjects

You use custom WebObjects for two main purposes:

 

To create a custom WebObject:

 

  1. Click  in the toolbar. 
  2. A template for a custom WebObject appears at the insertion point.

     

  3. In the Custom WebObject Inspector, specify the element class. 
  4. The WebObject Class combo box allows you to type the class name or select it from the components listed in the pop-up menu. This menu lists all components that are in the current project and frameworks. For example, the components listed in the menu above (WOSimpleArrayDisplay, WOSortOrder, and so forth) are defined in the WOExtensions framework, which is included in your project by default.

    If WebObjects Builder recognizes the element class, it automatically displays its attributes. Otherwise, you can add them by clicking Add Attribute.

     

The WOExtensions palette (see "Palettes") contains several pre-defined custom WebObjects elements you can use in a component.

 

Table of Contents Next Section