ServiceLink

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.

See also: DirectLink , ExternalLink , GenericLink , PageLink

Parameters

Name Type Required Default Description
service String yes The name of the IEngineService to invoke. Can be any service, esp random ones contributed by you.
parameters Object or

Object[] or

List
no An array of Objects to be encoded into the URL. These parameters will be decoded when the link is triggered.
disabled boolean 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.

target String no The name of the html target for this link, this is just the normal html attribute that will control where the response generated from this link will go. (Usually used in frames)
anchor String no The name of an anchor or element to link to. The final URL will have '#' and the anchor appended to it.
scheme String 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 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 no The object which will actually render the link.

Body: rendered

Informal parameters: allowed

Reserved parameters: href

Examples

This example is under construction.