Uses of Interface
org.apache.tapestry5.http.Link
-
Packages that use Link Package Description org.apache.tapestry5 Root package for Tapestry, containing common interfaces and data types used throughout the framework.org.apache.tapestry5.corelib.base Base components intended to be extended by other components rather than used directly in templates.org.apache.tapestry5.corelib.components The set of core components available in all Tapestry applicationsorg.apache.tapestry5.http org.apache.tapestry5.http.internal.services org.apache.tapestry5.http.services org.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.apache.tapestry5.internal.services.linktransform [INTERNAL USE ONLY] link transformation support implementations; API subject to changeorg.apache.tapestry5.internal.structure [INTERNAL USE ONLY] page structure implementation details; API subject to change.org.apache.tapestry5.internal.test [INTERNAL USE ONLY] testing support implementation classes; API subject to changeorg.apache.tapestry5.services Core servicesorg.apache.tapestry5.services.linktransform Services supporting link transformation.org.apache.tapestry5.test Support for testing Tapestry pagesorg.apache.tapestry5.util A set of enums, abstract classs and wrappers of various purposes -
-
Uses of Link in org.apache.tapestry5
Methods in org.apache.tapestry5 that return Link Modifier and Type Method Description Link
ComponentResourcesCommon. createEventLink(String eventType, Object... context)
Creates a component event request link as a callback for this component.Link
ComponentResourcesCommon. createFormEventLink(String eventType, Object... context)
Creates a component event request link as a callback for this component.Link
PageCallback. toLink(PageRenderLinkSource linkSource)
Converts the callback (the page name and activation context) to a link; such a link may be returned from a event handler method to cause Tapestry to redirect to the page. -
Uses of Link in org.apache.tapestry5.corelib.base
Methods in org.apache.tapestry5.corelib.base that return Link Modifier and Type Method Description protected abstract Link
AbstractComponentEventLink. createLink(Object[] eventContext)
Invoked to create the Link that will become the href attribute of the output.Link
AbstractLink. getLink()
Returns the most recently renderedLink
for this component.Methods in org.apache.tapestry5.corelib.base with parameters of type Link Modifier and Type Method Description protected void
AbstractLink. addParameters(Link link)
Adds any user-defined parameters as query parameters.protected void
AbstractLink. writeLink(MarkupWriter writer, Link link, Object... namesAndValues)
Writes an <a> element with the provided link as the href attribute. -
Uses of Link in org.apache.tapestry5.corelib.components
Methods in org.apache.tapestry5.corelib.components that return Link Modifier and Type Method Description protected Link
ActionLink. createLink(Object[] contextArray)
protected Link
EventLink. createLink(Object[] eventContext)
Link
Tree. getTreeActionLink()
-
Uses of Link in org.apache.tapestry5.http
Methods in org.apache.tapestry5.http that return Link Modifier and Type Method Description Link
Link. addParameter(String parameterName, String value)
Adds a parameter value.Link
Link. addParameterValue(String parameterName, Object value)
Adds a parameter value as a value object; the value object is converted to a string via ContextPathEncoder.encodeValue(Object) from tapestry-core and the result is added viaaddParameter(String, String)
.Link
Link. copyWithBasePath(String basePath)
Creates a copy of this link that has the same parameters, anchor, and other attributes, but a different base path.Link
Link. removeParameter(String parameterName)
Removes a parameter value, which is occasionally useful when transforming a parameter into a portion of the path.Link
Link. setAnchor(String anchor)
Sets the link anchor. -
Uses of Link in org.apache.tapestry5.http.internal.services
Methods in org.apache.tapestry5.http.internal.services with parameters of type Link Modifier and Type Method Description void
ResponseImpl. sendRedirect(Link link)
-
Uses of Link in org.apache.tapestry5.http.services
Methods in org.apache.tapestry5.http.services with parameters of type Link Modifier and Type Method Description void
Response. sendRedirect(Link link)
Sends a redirect to a link. -
Uses of Link in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement Link Modifier and Type Class Description class
LinkImpl
Methods in org.apache.tapestry5.internal.services that return Link Modifier and Type Method Description Link
LinkImpl. addParameter(String parameterName, String value)
Link
LinkImpl. addParameterValue(String parameterName, Object value)
Link
LinkImpl. copyWithBasePath(String basePath)
Link
ComponentEventLinkEncoderImpl. createComponentEventLink(ComponentEventRequestParameters parameters, boolean forForm)
Link
LinkSource. createComponentEventLink(Page page, String nestedId, String eventType, boolean forForm, Object... context)
Creates a stateful action link.Link
LinkSourceImpl. createComponentEventLink(Page page, String nestedId, String eventType, boolean forForm, Object... eventContext)
Link
ComponentEventLinkEncoderImpl. createPageRenderLink(PageRenderRequestParameters parameters)
Link
LinkSource. createPageRenderLink(String pageName, boolean override, Object... pageActivationContext)
Creates a render link for the page.Link
LinkSourceImpl. createPageRenderLink(String pageName, boolean override, Object... pageActivationContext)
Link
PageRenderLinkSourceImpl. createPageRenderLink(Class pageClass)
Link
PageRenderLinkSourceImpl. createPageRenderLink(String pageName)
Link
PageRenderLinkSourceImpl. createPageRenderLinkWithContext(Class pageClass, Object... context)
Link
PageRenderLinkSourceImpl. createPageRenderLinkWithContext(Class pageClass, EventContext eventContext)
Link
PageRenderLinkSourceImpl. createPageRenderLinkWithContext(String pageName, Object... context)
Link
PageRenderLinkSourceImpl. createPageRenderLinkWithContext(String pageName, EventContext eventContext)
Link
LinkImpl. removeParameter(String parameterName)
Link
LinkImpl. setAnchor(String anchor)
Methods in org.apache.tapestry5.internal.services with parameters of type Link Modifier and Type Method Description void
ClientBehaviorSupportImpl. addFormInjector(String clientId, Link link, InsertPosition insertPosition, String showFunctionName)
void
ClientPersistentFieldStrategy. createdComponentEventLink(Link link, ComponentEventRequestParameters parameters)
void
LinkDecorationListener. createdComponentEventLink(Link link, ComponentEventRequestParameters parameters)
void
ClientPersistentFieldStrategy. createdPageRenderLink(Link link, PageRenderRequestParameters parameters)
void
LinkDecorationListener. createdPageRenderLink(Link link, PageRenderRequestParameters parameters)
void
ClientBehaviorSupportImpl. linkZone(String linkId, String elementId, Link eventLink)
void
AjaxLinkComponentEventResultProcessor. processResultValue(Link value)
void
ClientPersistentFieldStorage. updateLink(Link link)
Updates a link, adding a query parameter to it (if necessary) to storevoid
ClientPersistentFieldStorageImpl. updateLink(Link link)
-
Uses of Link in org.apache.tapestry5.internal.services.linktransform
Methods in org.apache.tapestry5.internal.services.linktransform that return Link Modifier and Type Method Description Link
LinkTransformerInterceptor. createComponentEventLink(ComponentEventRequestParameters parameters, boolean forForm)
Link
LinkTransformerInterceptor. createPageRenderLink(PageRenderRequestParameters parameters)
Link
LinkTransformerImpl. transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters)
Link
LinkTransformerImpl. transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters)
Methods in org.apache.tapestry5.internal.services.linktransform with parameters of type Link Modifier and Type Method Description Link
LinkTransformerImpl. transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters)
Link
LinkTransformerImpl. transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters)
-
Uses of Link in org.apache.tapestry5.internal.structure
Methods in org.apache.tapestry5.internal.structure that return Link Modifier and Type Method Description Link
ComponentPageElementResources. createComponentEventLink(ComponentResources resources, String eventType, boolean forForm, Object... context)
Creates a link on behalf of a component.Link
ComponentPageElementResourcesImpl. createComponentEventLink(ComponentResources resources, String eventType, boolean forForm, Object... context)
Link
ComponentPageElementImpl. createEventLink(String eventType, Object... context)
Link
InternalComponentResourcesImpl. createEventLink(String eventType, Object... context)
Link
ComponentPageElementImpl. createFormEventLink(String eventType, Object... context)
Link
InternalComponentResourcesImpl. createFormEventLink(String eventType, Object... context)
Link
ComponentPageElementResources. createPageRenderLink(Class pageClass, boolean override, Object... context)
Creates a page render request link to render a specific page.Link
ComponentPageElementResources. createPageRenderLink(String pageName, boolean override, Object... context)
Creates a page render request link to render a specific page.Link
ComponentPageElementResourcesImpl. createPageRenderLink(Class pageClass, boolean override, Object... context)
Link
ComponentPageElementResourcesImpl. createPageRenderLink(String pageName, boolean override, Object... context)
-
Uses of Link in org.apache.tapestry5.internal.test
Methods in org.apache.tapestry5.internal.test that return Link Modifier and Type Method Description Link
TestableResponse. getRedirectLink()
Returns the link redirected to viaResponse.sendRedirect(org.apache.tapestry5.http.Link)
.Link
TestableResponseImpl. getRedirectLink()
Methods in org.apache.tapestry5.internal.test with parameters of type Link Modifier and Type Method Description void
TestableResponseImpl. sendRedirect(Link link)
-
Uses of Link in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return Link Modifier and Type Method Description Link
ComponentEventLinkEncoder. createComponentEventLink(ComponentEventRequestParameters parameters, boolean forForm)
Creates a link that encapsulates a component event request, includingPersistentLocale
(if set).Link
ComponentEventLinkEncoder. createPageRenderLink(PageRenderRequestParameters parameters)
Creates a Link that encapsulates a page render request, including activation context andPersistentLocale
(if set).Link
PageRenderLinkSource. createPageRenderLink(Class pageClass)
Creates a page render link using the page's class to identify the target page, and using the pages normal passivation context (if it has one).Link
PageRenderLinkSource. createPageRenderLink(String pageName)
Creates a page render link using the page's normal passivation context (if it has one).Link
PageRenderLinkSource. createPageRenderLinkWithContext(Class pageClass, Object... context)
Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation context (possibly an empty one).Link
PageRenderLinkSource. createPageRenderLinkWithContext(Class pageClass, EventContext eventContext)
Creates a page render link using the page's class to identify the target page, and using an override of the page's passivation contextLink
PageRenderLinkSource. createPageRenderLinkWithContext(String pageName, Object... context)
Creates a page render link using an override of the page's passivation context (possibly an empty one).Link
PageRenderLinkSource. createPageRenderLinkWithContext(String pageName, EventContext eventContext)
Creates a page render link using an override of the page's passivation context.Methods in org.apache.tapestry5.services with parameters of type Link Modifier and Type Method Description void
ClientBehaviorSupport. addFormInjector(String clientId, Link link, InsertPosition insertPosition, String showFunctionName)
Deprecated.Adds a new client-side Tapestry.FormInjector object.void
LinkCreationListener. createdComponentEventLink(Link link)
Deprecated.Invoked when an action link (a link that asks a component to perform an action) is created.void
LinkCreationListener2. createdComponentEventLink(Link link, ComponentEventRequestParameters parameters)
Invoked when an action link (a link that asks a component to perform an action) is created.void
LinkCreationListener. createdPageRenderLink(Link link)
Deprecated.Invoked when a page link (a link that renders a page) is created.void
LinkCreationListener2. createdPageRenderLink(Link link, PageRenderRequestParameters parameters)
Invoked when a page link (a link that renders a page) is created.void
ClientBehaviorSupport. linkZone(String linkId, String elementId, Link eventLink)
Deprecated.Sets the client-side onclick handler for an <a> element to perform an Ajax update of a zone. -
Uses of Link in org.apache.tapestry5.services.linktransform
Methods in org.apache.tapestry5.services.linktransform that return Link Modifier and Type Method Description Link
ComponentEventLinkTransformer. transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters)
Allows the default Link created for the component event request to be replaced.Link
PageRenderLinkTransformer. transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters)
Transforms a page render link.Methods in org.apache.tapestry5.services.linktransform with parameters of type Link Modifier and Type Method Description Link
ComponentEventLinkTransformer. transformComponentEventLink(Link defaultLink, ComponentEventRequestParameters parameters)
Allows the default Link created for the component event request to be replaced.Link
PageRenderLinkTransformer. transformPageRenderLink(Link defaultLink, PageRenderRequestParameters parameters)
Transforms a page render link. -
Uses of Link in org.apache.tapestry5.test
Methods in org.apache.tapestry5.test that return Link Modifier and Type Method Description protected Link
TapestryTestCase. mockLink()
protected Link
TapestryTestCase. mockLink(String absoluteURI)
Methods in org.apache.tapestry5.test with parameters of type Link Modifier and Type Method Description protected void
TapestryTestCase. train_toRedirectURI(Link link, String URI)
protected void
TapestryTestCase. train_toURI(Link link, String URI)
-
Uses of Link in org.apache.tapestry5.util
Methods in org.apache.tapestry5.util with parameters of type Link Modifier and Type Method Description void
ResponseWrapper. sendRedirect(Link link)
-