|
|
|
Description
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
ActionLink,
DirectLink,
ExternalLink,
GenericLink,
PageLink
|
Parameters
Name |
Type |
Direction |
Required |
Default |
Description |
service |
String |
in |
yes |
|
The name of the
EngineService
to invoke. |
parameters |
Object,
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.
|
context |
Object[] |
in |
no |
|
Deprecated name for parameters. This will emit warnings in 2.2 and be
removed in a later release entirely.
|
scheme |
String |
in |
no |
|
If specified, then a longer URL (including scheme, server and possibly port)
is generated using the specified scheme. Server is determined fromt he
incoming request, and port is deterimined from the port paramter or the
incoming request.
|
port |
int |
in |
no |
|
If specified, then a longer URL (including scheme, server and port) is
generated using the specified port. The server is determined from the
incoming request, the scheme from the scheme paramter or the incoming
request.
|
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.
|
Body:
rendered Informal parameters:
allowed
Reserved parameters: "href"
|
Examples
This example is under construction.
|
|