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 applications
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.internal.services.linktransform |
[INTERNAL USE ONLY] link transformation support implementations; API subject to change
|
org.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 change
|
org.apache.tapestry5.services |
Core services
|
org.apache.tapestry5.services.linktransform |
Services supporting link transformation.
|
org.apache.tapestry5.test |
Support for testing Tapestry pages
|
org.apache.tapestry5.util |
A set of enums, abstract classs and wrappers of various purposes
|
Modifier and Type | Method and 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) and the result is added via addParameter(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 |
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 |
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.
|
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.
|
Modifier and Type | Method and 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 rendered
Link for this component. |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected Link |
EventLink.createLink(Object[] eventContext) |
protected Link |
ActionLink.createLink(Object[] contextArray) |
Link |
Tree.getTreeActionLink() |
Modifier and Type | Class and Description |
---|---|
class |
LinkImpl |
Modifier and Type | Method and 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 |
PageRenderLinkSourceImpl.createPageRenderLink(Class pageClass) |
Link |
ComponentEventLinkEncoderImpl.createPageRenderLink(PageRenderRequestParameters parameters) |
Link |
PageRenderLinkSourceImpl.createPageRenderLink(String pageName) |
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.createPageRenderLinkWithContext(Class pageClass,
EventContext eventContext) |
Link |
PageRenderLinkSourceImpl.createPageRenderLinkWithContext(Class pageClass,
Object... context) |
Link |
PageRenderLinkSourceImpl.createPageRenderLinkWithContext(String pageName,
EventContext eventContext) |
Link |
PageRenderLinkSourceImpl.createPageRenderLinkWithContext(String pageName,
Object... context) |
Link |
LinkImpl.removeParameter(String parameterName) |
Link |
LinkImpl.setAnchor(String anchor) |
Modifier and Type | Method and Description |
---|---|
void |
ClientBehaviorSupportImpl.addFormInjector(String clientId,
Link link,
InsertPosition insertPosition,
String showFunctionName) |
void |
LinkDecorationListener.createdComponentEventLink(Link link,
ComponentEventRequestParameters parameters) |
void |
ClientPersistentFieldStrategy.createdComponentEventLink(Link link,
ComponentEventRequestParameters parameters) |
void |
LinkDecorationListener.createdPageRenderLink(Link link,
PageRenderRequestParameters parameters) |
void |
ClientPersistentFieldStrategy.createdPageRenderLink(Link link,
PageRenderRequestParameters parameters) |
void |
ClientBehaviorSupportImpl.linkZone(String linkId,
String elementId,
Link eventLink) |
void |
AjaxLinkComponentEventResultProcessor.processResultValue(Link value) |
void |
ResponseImpl.sendRedirect(Link link) |
void |
ClientPersistentFieldStorageImpl.updateLink(Link link) |
void |
ClientPersistentFieldStorage.updateLink(Link link)
Updates a link, adding a query parameter to it (if necessary) to store
|
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
Link |
LinkTransformerImpl.transformComponentEventLink(Link defaultLink,
ComponentEventRequestParameters parameters) |
Link |
LinkTransformerImpl.transformPageRenderLink(Link defaultLink,
PageRenderRequestParameters parameters) |
Modifier and Type | Method and Description |
---|---|
Link |
ComponentPageElementResourcesImpl.createComponentEventLink(ComponentResources resources,
String eventType,
boolean forForm,
Object... context) |
Link |
ComponentPageElementResources.createComponentEventLink(ComponentResources resources,
String eventType,
boolean forForm,
Object... context)
Creates a link on behalf of a component.
|
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 |
ComponentPageElementResourcesImpl.createPageRenderLink(Class pageClass,
boolean override,
Object... context) |
Link |
ComponentPageElementResources.createPageRenderLink(Class pageClass,
boolean override,
Object... context)
Creates a page render request link to render a specific page.
|
Link |
ComponentPageElementResourcesImpl.createPageRenderLink(String pageName,
boolean override,
Object... context) |
Link |
ComponentPageElementResources.createPageRenderLink(String pageName,
boolean override,
Object... context)
Creates a page render request link to render a specific page.
|
Modifier and Type | Method and Description |
---|---|
Link |
TestableResponse.getRedirectLink()
Returns the link redirected to via
Response.sendRedirect(org.apache.tapestry5.Link) . |
Link |
TestableResponseImpl.getRedirectLink() |
Modifier and Type | Method and Description |
---|---|
void |
TestableResponseImpl.sendRedirect(Link link) |
Modifier and Type | Method and Description |
---|---|
Link |
ComponentEventLinkEncoder.createComponentEventLink(ComponentEventRequestParameters parameters,
boolean forForm)
Creates a link that encapsulates a component event request, including
PersistentLocale (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 |
ComponentEventLinkEncoder.createPageRenderLink(PageRenderRequestParameters parameters)
Creates a Link that encapsulates a page render request, including activation context and
PersistentLocale (if set). |
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,
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 context
|
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(String pageName,
EventContext eventContext)
Creates a page render link using an override of the page's passivation context.
|
Link |
PageRenderLinkSource.createPageRenderLinkWithContext(String pageName,
Object... context)
Creates a page render link using an override of the page's passivation context (possibly an empty one).
|
Modifier and Type | Method and 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.
|
void |
Response.sendRedirect(Link link)
Sends a redirect to a link.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
protected Link |
TapestryTestCase.mockLink() |
protected Link |
TapestryTestCase.mockLink(String absoluteURI) |
Modifier and Type | Method and Description |
---|---|
protected void |
TapestryTestCase.train_toRedirectURI(Link link,
String URI) |
protected void |
TapestryTestCase.train_toURI(Link link,
String URI) |
Modifier and Type | Method and Description |
---|---|
void |
ResponseWrapper.sendRedirect(Link link) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.