Package | Description |
---|---|
org.apache.tapestry5 |
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
|
org.apache.tapestry5.corelib.components |
The set of core components available in all Tapestry applications
|
org.apache.tapestry5.internal |
[INTERNAL USE ONLY] internal support classes; API subject to change.
|
org.apache.tapestry5.internal.renderers |
[INTERNAL USE ONLY] support classes for component template rendering; API subject to change
|
org.apache.tapestry5.internal.services |
[INTERNAL USE ONLY] internal service classes; API subject to change
|
org.apache.tapestry5.internal.structure |
[INTERNAL USE ONLY] page structure implementation details; API subject to change.
|
org.apache.tapestry5.runtime |
Contains interfaces that are added to component classes at runtime.
|
org.apache.tapestry5.services |
Core services
|
Modifier and Type | Method and Description |
---|---|
boolean |
ComponentResourcesCommon.triggerContextEvent(String eventType,
EventContext context,
ComponentEventCallback callback)
Triggers a component event.
|
Constructor and Description |
---|
PageCallback(String pageName,
EventContext activationContext) |
Modifier and Type | Method and Description |
---|---|
protected void |
Form.beforeProcessSubmit(EventContext context)
A hook invoked from
Form.onAction(org.apache.tapestry5.EventContext) before any other setup. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractEventContext |
class |
EmptyEventContext
Placeholder used when no context is available.
|
class |
URLEventContext
Implementation based on values extracted from the URL (an event context, or a page activation
context) that uses a
ContextValueEncoder to convert from
string values to the desired values. |
Modifier and Type | Method and Description |
---|---|
static boolean |
TapestryInternalUtils.isEqual(EventContext left,
EventContext right) |
Modifier and Type | Method and Description |
---|---|
void |
EventContextRenderer.render(EventContext object,
MarkupWriter writer) |
Modifier and Type | Class and Description |
---|---|
class |
ArrayEventContext
Simple implementation of
EventContext . |
Modifier and Type | Method and Description |
---|---|
EventContext |
ContextPathEncoderImpl.decodePath(String path) |
EventContext |
ComponentEventImpl.getEventContext() |
Modifier and Type | Method and Description |
---|---|
boolean |
PageActivatorImpl.activatePage(ComponentResources pageResources,
EventContext activationContext,
ComponentEventResultProcessor resultProcessor) |
boolean |
PageActivator.activatePage(ComponentResources pageResources,
EventContext activationContext,
ComponentEventResultProcessor resultProcessor)
Activates the page.
|
void |
ComponentEventLinkEncoderImpl.appendContext(boolean seperatorRequired,
EventContext context,
StringBuilder builder) |
Link |
PageRenderLinkSourceImpl.createPageRenderLinkWithContext(Class pageClass,
EventContext eventContext) |
Link |
PageRenderLinkSourceImpl.createPageRenderLinkWithContext(String pageName,
EventContext eventContext) |
String |
ContextPathEncoderImpl.encodeIntoPath(EventContext context) |
void |
UnknownActivationContextHandlerImpl.handleUnknownContext(ComponentResources pageResources,
EventContext activationContext) |
void |
UnknownActivationContextHandler.handleUnknownContext(ComponentResources pageResources,
EventContext activationContext)
Answer the client in the case of a request coming in with an unknown activation context.
|
Constructor and Description |
---|
ComponentEventImpl(String eventType,
String originatingComponentId,
EventContext context,
ComponentEventCallback handler,
ComponentPageElementResources elementResources,
boolean exactParameterCountMatch,
ComponentModel model,
org.slf4j.Logger logger) |
Modifier and Type | Method and Description |
---|---|
boolean |
ComponentPageElementImpl.triggerContextEvent(String eventType,
EventContext context,
ComponentEventCallback callback) |
boolean |
InternalComponentResourcesImpl.triggerContextEvent(String eventType,
EventContext context,
ComponentEventCallback callback) |
Modifier and Type | Method and Description |
---|---|
EventContext |
ComponentEventException.getContext() |
EventContext |
ComponentEvent.getEventContext()
Returns the underlying event context.
|
Constructor and Description |
---|
ComponentEventException(String message,
String eventType,
EventContext context,
Object location,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
EventContext |
ContextPathEncoder.decodePath(String path)
Inverse of
ContextPathEncoder.encodeIntoPath(Object[]) ; the path is split into strings, and the string are decoded and
constructed into an EventContext . |
EventContext |
PageRenderRequestParameters.getActivationContext() |
EventContext |
ComponentEventRequestParameters.getEventContext()
The event context information passed in the URL.
|
EventContext |
ComponentEventRequestParameters.getPageActivationContext()
The activation context for the active page, possibly empty (but not null).
|
Modifier and Type | Method and Description |
---|---|
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(String pageName,
EventContext eventContext)
Creates a page render link using an override of the page's passivation context.
|
String |
ContextPathEncoder.encodeIntoPath(EventContext context)
Encodes the context into a string.
|
Constructor and Description |
---|
ComponentEventRequestParameters(String activePageName,
String containingPageName,
String nestedComponentId,
String eventType,
EventContext pageActivationContext,
EventContext eventContext) |
PageRenderRequestParameters(String logicalPageName,
EventContext activationContext)
Deprecated.
|
PageRenderRequestParameters(String logicalPageName,
EventContext activationContext,
boolean loopback) |
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.