A component for creating a link for an arbitrary engine service that uses no parameters, such as the reset or home service. A ServiceLink component can emulate an ActionLink, PageLink or DirectLink component, but is most often used in conjunction with an application-specific service.
Prior to release 2.2, this component was named Service .
See also: DirectLink , ExternalLink , GenericLink , PageLink
Name | Type | Direction | Required | Default | Description |
---|---|---|---|---|---|
service | String | in | yes | The name of the IEngineService to invoke. | |
parameters |
Object or
Object[] or List |
in | no | An array of Objects to be encoded into the URL. These parameters will be decoded when the link is triggered. | |
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. Using the namespace scheme, to create a link to a page in a library, you must provide the libraries namespace prefix. |
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. | |
scheme | String | in | no | The required scheme ("http" or "https", typically) for the URL. This will force the creation of an absolute URL when the current request's scheme does not match the value for this parameter. This is most often used to switch to "https" for secure portions of an application (such as a login page), before switching back to standard "http" for the majority of an application. | |
port | Integer | in | no | The required port (80, 443, 8080. 8443, typically) for the URL. This will force the creation of an absolute URL when the current request's scheme does not match the value for this parameter. This is most often used in conjunction with scheme to switch to "https:443"/"https:8443" for secure portions of an application (such as a login page), before switching back to standard "http:80"/"http:80" for the majority of an application. | |
renderer | ILinkRenderer | in | no | The object which will actually render the link. |
Body: rendered
Informal parameters: allowed
Reserved parameters: href
This example is under construction.