org.apache.tapestry5.corelib.components
Class PageLink

Generates a render request link to some other page in the application. If an activation context is supplied (as the
context parameter), then the context values will be encoded into the URL. If no context is supplied, then the target
page itself will supply the context via a passivate event.

Pages are not required to have an activation context. When a page does have an activation context, the value
typically represents the identity of some object displayed or otherwise manipulated by the page.

Component Parameters

Name

Description

Type

Flags

Default

Default Prefix

Since

anchor

An anchor value to append to the generated URL (the hash separator will be added automatically).

String

literal

context

If provided, this is the activation context for the target page (the information will be encoded into the URL).
If not provided, then the target page will provide its own activation context.

Object

prop

disabled

If true, then then no link element is rendered (and no informal parameters as well). The body is, however, still
rendered.

boolean

false

prop

page

The logical name of the page to link to.

String

Required, Not Null

literal

parameters

If specified, the parameters are added to the link as query parameters in key=value fashion.
Values will be coerced to string using value encoder; keys should be Strings.