Uses of Interface
org.apache.tapestry5.EventContext
Packages that use EventContext
Package
Description
Root package for Tapestry, containing common interfaces and data types used throughout the framework.
The set of core components available in all Tapestry applications
[INTERNAL USE ONLY] internal support classes; API subject to change.
[INTERNAL USE ONLY] support classes for component template rendering; API subject to change
[INTERNAL USE ONLY] internal service classes; API subject to change
[INTERNAL USE ONLY] page structure implementation details; API subject to change.
Contains interfaces that are added to component classes at runtime.
Core services
-
Uses of EventContext in org.apache.tapestry5
Methods in org.apache.tapestry5 with parameters of type EventContextModifier and TypeMethodDescriptionboolean
ComponentResourcesCommon.triggerContextEvent
(String eventType, EventContext context, ComponentEventCallback callback) Triggers a component event.Constructors in org.apache.tapestry5 with parameters of type EventContext -
Uses of EventContext in org.apache.tapestry5.corelib.components
Methods in org.apache.tapestry5.corelib.components with parameters of type EventContextModifier and TypeMethodDescriptionprotected 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 EventContextModifier and TypeClassDescriptionclass
class
Placeholder used when no context is available.class
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 EventContextModifier and TypeMethodDescriptionstatic 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 EventContextModifier and TypeMethodDescriptionvoid
EventContextRenderer.render
(EventContext object, MarkupWriter writer) -
Uses of EventContext in org.apache.tapestry5.internal.services
Classes in org.apache.tapestry5.internal.services that implement EventContextMethods in org.apache.tapestry5.internal.services that return EventContextModifier and TypeMethodDescriptionContextPathEncoderImpl.decodePath
(String path) ComponentEventImpl.getEventContext()
Methods in org.apache.tapestry5.internal.services with parameters of type EventContextModifier and TypeMethodDescriptionboolean
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) PageRenderLinkSourceImpl.createPageRenderLinkWithContext
(Class pageClass, EventContext eventContext) PageRenderLinkSourceImpl.createPageRenderLinkWithContext
(String pageName, EventContext eventContext) 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 EventContextModifierConstructorDescriptionComponentEventImpl
(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 EventContextModifier and TypeMethodDescriptionboolean
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 EventContextModifier and TypeMethodDescriptionComponentEventException.getContext()
ComponentEvent.getEventContext()
Returns the underlying event context.Constructors in org.apache.tapestry5.runtime with parameters of type EventContextModifierConstructorDescriptionComponentEventException
(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 EventContextModifier and TypeMethodDescriptionContextPathEncoder.decodePath
(String path) Inverse ofContextPathEncoder.encodeIntoPath(Object[])
; the path is split into strings, and the string are decoded and constructed into anEventContext
.PageRenderRequestParameters.getActivationContext()
ComponentEventRequestParameters.getEventContext()
The event context information passed in the URL.ComponentEventRequestParameters.getPageActivationContext()
The activation context for the active page, possibly empty (but not null).Methods in org.apache.tapestry5.services with parameters of type EventContextModifier and TypeMethodDescriptionPageRenderLinkSource.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 contextPageRenderLinkSource.createPageRenderLinkWithContext
(String pageName, EventContext eventContext) Creates a page render link using an override of the page's passivation context.ContextPathEncoder.encodeIntoPath
(EventContext context) Encodes the context into a string.Constructors in org.apache.tapestry5.services with parameters of type EventContextModifierConstructorDescriptionComponentEventRequestParameters
(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)
PageRenderRequestParameters(String, EventContext, boolean)
.