Creating hyperlinks – Apple WebObjects 3.5 Tools And Techniques User Manual
Page 47
Creating Hyperlinks
47
Creating Hyperlinks
There are two types of hyperlinks that you can use in a WebObjects
application:
•
A static hyperlink (which uses the HTML
<A>
tag), whose destination
is constant.
•
A dynamic hyperlink (WOHyperlink), whose destination can be
specified at run time. See “Dynamic Hyperlinks” for more information
about these.
To create a static hyperlink:
1. Click
on the toolbar.
2. Type the text that the hyperlink should contain. As you type, the text
is underlined.
3. Click
again.
Alternatively, you can select existing text and then click
once to
convert the text to a hyperlink.
4. Use the Inspector to set the destination of the link.
Note
: While the destination of a static link cannot change, it’s possible to vary
its text at run time by using a dynamic string (see “Dynamic Strings”) inside
the hyperlink.
Click to make hyperlink
dynamic.
Click to make this element
an anchor that can be the
destination of a link.