Jakarta > Tapestry
Jakarta
 
Font size:      

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.

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 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.
renderer ILinkRenderer in no The object which will actually render the link.

Body: rendered

Informal parameters: allowed

Reserved parameters: href

Examples

This example is under construction.