Creates an <a> hyperlink for an arbitrary URL.
Although a GenericLink can be accomplished using an Any component, a GenericLink is more flexible: it can be disabled, like a DirectLink and can also wrap around Rollover components. GenericLinks are often used with javascript: URLs to perform client-side scripting.
See also: DirectLink , ExternalLink , PageLink , Rollover , ServiceLink
Name | Type | Direction | Required | Default | Description |
---|---|---|---|---|---|
href | String | in | yes | The URL to trigger when the link is clicked. This is often of the form: <a> href="javascript:functionName('param')"> | |
disabled | boolean | in | no | false | Controls whether the link is produced. If disabled, the portion of the template the link surrounds is still rendered, but not the link itself. |
anchor | String | in | no | The name of an anchor or element to link to. The final URL will have '#' and the anchor appended to it. | |
renderer | ILinkRenderer | in | no | The object which will actually render the link. |
Body: rendered
Informal parameters: allowed
Reserved parameters: none
Under Construction.