WOHyperlink
Synopsis
WOHyperlink { action=aMethod | href=aURL | pageName=aString; [fragmentIdentifier=anchorFragment;] [string=aString;] [target=frameName;] [disabled=YES|NO;] ... };
Description
WOHyperlink generates a hypertext link in an HTML document.
- action
- Action method to invoke when this element is activated. The method must return a WOElement.
- href
- URL to direct the browser to when the image is clicked.
- pageName
- Name of WebObjects page to display when the link is clicked.
- fragmentIdentifier
- Named location to display in the destination page.
- string
- Text displayed to the user as the link. If you include any text between the <WEBOBJECT ...> and </WEBOBJECT> tags for this element, the contents of string is appended to that text.
- target
- 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
Simple examplesDisabling a hyperlink
Linking to an external site
Specifying a string within a hyperlink
Table of Contents Next Section