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 booleanComponentResourcesCommon. triggerContextEvent(java.lang.String eventType, EventContext context, ComponentEventCallback callback)Triggers a component event.Constructors in org.apache.tapestry5 with parameters of type EventContext Constructor Description PageCallback(java.lang.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 voidForm. 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 classAbstractEventContextclassEmptyEventContextPlaceholder used when no context is available.classURLEventContextImplementation based on values extracted from the URL (an event context, or a page activation context) that uses aContextValueEncoderto 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 booleanTapestryInternalUtils. 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 voidEventContextRenderer. 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 classArrayEventContextSimple implementation ofEventContext.Methods in org.apache.tapestry5.internal.services that return EventContext Modifier and Type Method Description EventContextContextPathEncoderImpl. decodePath(java.lang.String path)EventContextComponentEventImpl. getEventContext()Methods in org.apache.tapestry5.internal.services with parameters of type EventContext Modifier and Type Method Description booleanPageActivator. activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)Activates the page.booleanPageActivatorImpl. activatePage(ComponentResources pageResources, EventContext activationContext, ComponentEventResultProcessor resultProcessor)voidComponentEventLinkEncoderImpl. appendContext(boolean seperatorRequired, EventContext context, java.lang.StringBuilder builder)LinkPageRenderLinkSourceImpl. createPageRenderLinkWithContext(java.lang.Class pageClass, EventContext eventContext)LinkPageRenderLinkSourceImpl. createPageRenderLinkWithContext(java.lang.String pageName, EventContext eventContext)java.lang.StringContextPathEncoderImpl. encodeIntoPath(EventContext context)voidUnknownActivationContextHandler. handleUnknownContext(ComponentResources pageResources, EventContext activationContext)Answer the client in the case of a request coming in with an unknown activation context.voidUnknownActivationContextHandlerImpl. handleUnknownContext(ComponentResources pageResources, EventContext activationContext)Constructors in org.apache.tapestry5.internal.services with parameters of type EventContext Constructor Description ComponentEventImpl(java.lang.String eventType, java.lang.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 booleanComponentPageElementImpl. triggerContextEvent(java.lang.String eventType, EventContext context, ComponentEventCallback callback)booleanInternalComponentResourcesImpl. triggerContextEvent(java.lang.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 EventContextComponentEventException. getContext()EventContextComponentEvent. getEventContext()Returns the underlying event context.Constructors in org.apache.tapestry5.runtime with parameters of type EventContext Constructor Description ComponentEventException(java.lang.String message, java.lang.String eventType, EventContext context, java.lang.Object location, java.lang.Throwable cause) -
Uses of EventContext in org.apache.tapestry5.services
Methods in org.apache.tapestry5.services that return EventContext Modifier and Type Method Description EventContextContextPathEncoder. decodePath(java.lang.String path)Inverse ofContextPathEncoder.encodeIntoPath(Object[]); the path is split into strings, and the string are decoded and constructed into anEventContext.EventContextPageRenderRequestParameters. getActivationContext()EventContextComponentEventRequestParameters. getEventContext()The event context information passed in the URL.EventContextComponentEventRequestParameters. 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 LinkPageRenderLinkSource. createPageRenderLinkWithContext(java.lang.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 contextLinkPageRenderLinkSource. createPageRenderLinkWithContext(java.lang.String pageName, EventContext eventContext)Creates a page render link using an override of the page's passivation context.java.lang.StringContextPathEncoder. encodeIntoPath(EventContext context)Encodes the context into a string.Constructors in org.apache.tapestry5.services with parameters of type EventContext Constructor Description ComponentEventRequestParameters(java.lang.String activePageName, java.lang.String containingPageName, java.lang.String nestedComponentId, java.lang.String eventType, EventContext pageActivationContext, EventContext eventContext)PageRenderRequestParameters(java.lang.String logicalPageName, EventContext activationContext)Deprecated.PageRenderRequestParameters(java.lang.String logicalPageName, EventContext activationContext, boolean loopback)
-