Uses of Annotation Type
org.apache.tapestry5.services.Ajax
Packages that use Ajax
Package
Description
[INTERNAL USE ONLY] internal service classes; API subject to change
-
Uses of Ajax in org.apache.tapestry5.internal.services
Constructor parameters in org.apache.tapestry5.internal.services with annotations of type AjaxModifierConstructorDescriptionAjaxComponentEventRequestHandler(RequestPageCache cache, Request request, PageRenderQueue queue, ComponentEventResultProcessor resultProcessor, PageActivator pageActivator, Environment environment, AjaxPartialResponseRenderer partialRenderer) AjaxComponentInstanceEventResultProcessor(RequestPageCache cache, ComponentEventResultProcessor masterProcessor) AjaxFilter(Request request, ComponentEventRequestHandler ajaxHandler) AjaxLinkComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) AjaxPageClassComponentEventResultProcessor(ComponentSource componentSource, ComponentEventResultProcessor masterProcessor) AjaxPageNameComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor, LinkSource linkSource) AjaxURLComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) -
Uses of Ajax in org.apache.tapestry5.modules
Methods in org.apache.tapestry5.modules with annotations of type AjaxModifier and TypeMethodDescriptionstatic voidTapestryModule.provideBaseAjaxComponentEventResultProcessors(MappedConfiguration<Class, ComponentEventResultProcessor> configuration) Contributes handlers for the following types: Object Failure case, added to provide more useful exception messageRenderCommandTypically, aBlockComponentRenders the component and its body (unless its a page, in which case a redirect JSON response is sent)JSONObjectorJSONArrayThe JSONObject is returned as a text/javascript responseStreamResponseThe stream response is sent as the actual response String Interprets the value as a logical page name and sends a client response to redirect to that pageLinkSends a JSON response to redirect to the linkClassTreats the class as a page class and sends a redirect for a page render for that pageMultiZoneUpdateSends a single JSON response to update the content of multiple zones In most cases, when you want to support a new type, you should convert it to one of the built-in supported types (such asRenderCommand.Method parameters in org.apache.tapestry5.modules with annotations of type AjaxModifier and TypeMethodDescriptionvoidTapestryModule.contributeComponentEventRequestHandler(OrderedConfiguration<ComponentEventRequestFilter> configuration, RequestSecurityManager requestSecurityManager, ComponentEventRequestHandler ajaxHandler) Contributes filters: Ajax Determines if the request is Ajax oriented, and redirects to an alternative handler if so Secure Sends a redirect if an non-secure request accesses a secure page