Uses of Interface
org.apache.tapestry5.EventContext
-
Packages that use EventContext 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 applicationsorg.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 changeorg.apache.tapestry5.internal.services [INTERNAL USE ONLY] internal service classes; API subject to changeorg.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 -
-
Uses of EventContext in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type EventContext Modifier and Type Method Description boolean
ComponentResourcesCommon. triggerContextEvent(String eventType, EventContext context, ComponentEventCallback callback)
Triggers a component event.Constructors in org.apache.tapestry5 with parameters of type EventContext Constructor Description PageCallback(String pageName, EventContext activationContext)
-
Uses of EventContext in org.apache.tapestry5.corelib.components
Methods in org.apache.tapestry5.corelib.components with parameters of type EventContext Modifier and Type Method Description protected void
Form. beforeProcessSubmit(EventContext context)
A hook invoked fromForm.onAction(org.apache.tapestry5.EventContext)
before any other setup. -
Uses of EventContext in org.apache.tapestry5.internal
Classes in org.apache.tapestry5.internal that implement EventContext Modifier and Type Class 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 aContextValueEncoder
to convert from string values to the desired values.Methods in org.apache.tapestry5.internal with parameters of type EventContext Modifier and Type Method Description static boolean
TapestryInternalUtils. isEqual(EventContext left, EventContext right)
-
Uses of EventContext in org.apache.tapestry5.internal.renderers
Methods in org.apache.tapestry5.internal.renderers with parameters of type EventContext Modifier and Type Method Description void
EventContextRenderer. render(EventContext object, MarkupWriter writer)
-
Uses of EventContext in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement EventContext Modifier and Type Class Description class
ArrayEventContext
Simple implementation ofEventContext
.Methods in org.apache.tapestry5.internal.services that return EventContext Modifier and Type Method Description EventContext
ContextPathEncoderImpl. decodePath(String path)
EventContext
ComponentEventImpl. getEventContext()
Methods in org.apache.tapestry5.internal.services with parameters of type EventContext Modifier and Type Method Description boolean
PageActivator. activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)
Activates the page.boolean
PageActivatorImpl. activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)
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
UnknownActivationContextHandler. handleUnknownContext(ComponentResources pageResources, EventContext activationContext)
Answer the client in the case of a request coming in with an unknown activation context.void
UnknownActivationContextHandlerImpl. handleUnknownContext(ComponentResources pageResources, EventContext activationContext)
Constructors in org.apache.tapestry5.internal.services with parameters of type EventContext Constructor Description ComponentEventImpl(String eventType, String originatingComponentId, EventContext context, ComponentEventCallback handler, ComponentPageElementResources elementResources, boolean exactParameterCountMatch, ComponentModel model, org.slf4j.Logger logger)
-
Uses of EventContext in org.apache.tapestry5.internal.structure
Methods in org.apache.tapestry5.internal.structure with parameters of type EventContext Modifier and Type Method Description boolean
ComponentPageElementImpl. triggerContextEvent(String eventType, EventContext context, ComponentEventCallback callback)
boolean
InternalComponentResourcesImpl. triggerContextEvent(String eventType, EventContext context, ComponentEventCallback callback)
-
Uses of EventContext in org.apache.tapestry5.runtime
Methods in org.apache.tapestry5.runtime that return EventContext Modifier and Type Method Description EventContext
ComponentEventException. getContext()
EventContext
ComponentEvent. getEventContext()
Returns the underlying event context.Constructors in org.apache.tapestry5.runtime with parameters of type EventContext Constructor Description ComponentEventException(String message, String eventType, EventContext context, Object location, Throwable cause)
-
Uses of EventContext in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return EventContext Modifier and Type Method Description EventContext
ContextPathEncoder. decodePath(String path)
Inverse ofContextPathEncoder.encodeIntoPath(Object[])
; the path is split into strings, and the string are decoded and constructed into anEventContext
.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).Methods in org.apache.tapestry5.services with parameters of type EventContext Modifier and Type Method 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 contextLink
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.Constructors in org.apache.tapestry5.services with parameters of type EventContext Constructor 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)
-