public class AjaxResponseRendererImpl extends Object implements AjaxResponseRenderer
| Constructor and Description | 
|---|
AjaxResponseRendererImpl(PageRenderQueue queue,
                                                AjaxFormUpdateController ajaxFormUpdateController,
                                                TypeCoercer typeCoercer,
                                                JavaScriptSupport javaScriptSupport,
                                                RequestPageCache requestPageCache,
                                                Request request)  | 
| Modifier and Type | Method and Description | 
|---|---|
AjaxResponseRenderer | 
addCallback(JavaScriptCallback callback)
Queues a callback to execute during the partial markup render. 
 | 
AjaxResponseRenderer | 
addCallback(JSONCallback callback)
Queues a callback to execute during the partial markup render. 
 | 
AjaxResponseRenderer | 
addCallback(Runnable callback)
Queues a callback to execute during the partial markup render. 
 | 
AjaxResponseRenderer | 
addFilter(PartialMarkupRendererFilter filter)
Adds a rendering filter. 
 | 
AjaxResponseRenderer | 
addRender(ClientBodyElement zone)
Queues an update to the zone, using the zone's body as the new content. 
 | 
AjaxResponseRenderer | 
addRender(String clientId,
                  Object renderer)
Queues the renderer to render markup for the client-side element with the provided id. 
 | 
void | 
setupPartial(String pageName)
Initializes partial response rendering by identifying the page "responsible" for the response. 
 | 
public AjaxResponseRendererImpl(PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController, TypeCoercer typeCoercer, JavaScriptSupport javaScriptSupport, RequestPageCache requestPageCache, Request request)
public AjaxResponseRenderer addRender(String clientId, Object renderer)
AjaxResponseRendereraddRender in interface AjaxResponseRendererclientId - client id of zone to update with the content from the rendererrenderer - a Block, Component or other object that can be
         coerced to  RenderCommand.public AjaxResponseRenderer addRender(ClientBodyElement zone)
AjaxResponseRendereraddRender in interface AjaxResponseRendererzone - the element that contains both a client id and a body (this is primarily used to represent a Zone component).public AjaxResponseRenderer addCallback(JavaScriptCallback callback)
AjaxResponseRendereraddCallback in interface AjaxResponseRenderercallback - object to be invokedpublic AjaxResponseRenderer addCallback(Runnable callback)
AjaxResponseRendereraddCallback in interface AjaxResponseRenderercallback - object to be invokedpublic AjaxResponseRenderer addFilter(PartialMarkupRendererFilter filter)
AjaxResponseRendererPartialMarkupRenderer service.addFilter in interface AjaxResponseRendererpublic AjaxResponseRenderer addCallback(JSONCallback callback)
AjaxResponseRendereraddCallback in interface AjaxResponseRenderercallback - object o be invokedpublic void setupPartial(String pageName)
AjaxResponseRenderersetupPartial in interface AjaxResponseRendererpageName - identifies page to render${project.version} - Copyright © 2003-2015 The Apache Software Foundation.