Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > WebObjects Developer's Guide


Table of Contents Previous Section

Code or Script File

You use the code file to define your component's attributes and actions. The attributes are called instance variables, and the actions are called methods. Files containing your code can be found in Project Builder's Classes suitcase, as previously discussed.

Action Methods

Your component code contains action methods. An action method is a method you associate with a user action-for instance, clicking a submit button or a hyperlink. There are two types of action methods you can implement: those for component action requests and those for direct action requests.

Your components can contain a mix of direct and component actions.

For a more detailed discussion of action methods, see "Action Methods".

Table of Contents Next Section