public class AjaxPartialResponseRendererImpl extends Object implements AjaxPartialResponseRenderer
Constructor and Description |
---|
AjaxPartialResponseRendererImpl(MarkupWriterFactory factory,
Request request,
Response response,
PartialMarkupRenderer partialMarkupRenderer,
String outputEncoding,
boolean compactJSON) |
Modifier and Type | Method and Description |
---|---|
void |
renderPartialPageMarkup()
Used to render a partial response as part of an Ajax action request.
|
void |
renderPartialPageMarkup(JSONObject reply)
Used to render the partial response using a base reply object, to which any Tapestry-related
information (usually related to zone updates and initializations) will be added.
|
public AjaxPartialResponseRendererImpl(MarkupWriterFactory factory, Request request, Response response, PartialMarkupRenderer partialMarkupRenderer, @Inject @Symbol(value="tapestry.charset") String outputEncoding, @Symbol(value="tapestry.compact-json") boolean compactJSON)
public void renderPartialPageMarkup(JSONObject reply) throws IOException
AjaxPartialResponseRenderer
renderPartialPageMarkup
in interface AjaxPartialResponseRenderer
IOException
public void renderPartialPageMarkup() throws IOException
AjaxPartialResponseRenderer
PageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)
should precede this call.renderPartialPageMarkup
in interface AjaxPartialResponseRenderer
IOException
5.6.3 - Copyright © 2003-2021 The Apache Software Foundation.