Page Level
At the page level, objects of many classes (most of them private) work together to compose the HTML content of response pages (see Figure 17). Many of the same objects also set their variable values from data entered into request pages and respond to user actions.
Four classes are involved at this level:
- WOComponent (in Java, Component)
- WOElement (in Java, Element)
- WODynamicElement (in Java, DynamicElement)
- WOAssociation (in Java, Association)
Represents a integral, reusable page (or portion of a page) for display in a web browser.
Declares the three request-handling methods: takeValuesFromRequest:inContext:, invokeActionForRequest:inContext:, and appendToResponse:inContext:. WOElement is an abstract class. Each node in an object graph, which represents the HTML elements of a component and their relationships, is an object that inherits from WOElement.
An abstract class for subclasses that generate particular dynamic elements.
Knows how to find and set a value by reference to a key. Instance variables and action methods of dynamic elements are instances of this class.
Table of Contents Next Section