Select Component Index Shell

ServiceLink
org.apache.tapestry.link.ServiceLink
Non Visual Component
 

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.
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.


Select Component Index Shell