How to Use this Chapter


This chapter describes each of WebObject's dynamic elements and gives working examples of their use. To learn how to use a particular element, click its name in the table of contents to display the declaration page. For example, WOHyperlink's declaration page looks like this:

WOHyperlink

Synopsis

WOHyperlink { action=aMethod | href=aURL | pageName=aString; [string=aString;] [target=frameName;] [disabled=YES|NO;] ... };

Description

WOHyperlink generates a hypertext link in an HTML document.

action
The action method to invoke when this element is activated.
href
The URL to direct the browser to when the image is clicked.
pageName
Specifies the WebObjects page name to return when the link is clicked.
string
Specifies the text displayed to the user as the link&emdash;the text between <A> and </A>.
target
Specifies the frame in a frameset that will receive the page returned as a result of the user's click.
disabled
If evaluates to YES, the content string is displayed, but the hyperlink is not active.

Examples



The major sections of the declarations page contain this information: