PATH  WebObjects 4.0 Documentation > What's New in WebObjects 4.0

Table of Contents Previous Section

WOActiveImage, WOForm, WOFrame, WOHyperlink, WOImageButton, WOSubmitButton

All elements that support direct actions have the following new attributes:
Attribute Description
actionClass Specifies the WODirectAction subclass that contains the action named in the directActionName attribute. The actionClass attribute defaults to "DirectAction" if omitted.
directActionName Specifies the action to invoke when this element is activated. The name of the corresponding method that is invoked is determined by appending "Action" to the directActionName (for example, the "display" direct action corresponds to the "displayAction" method). The directActionName attribute defaults to "defaultAction" if omitted.

Table of Contents Next Section