Class AjaxPartialResponseRendererImpl
java.lang.Object
org.apache.tapestry5.internal.services.AjaxPartialResponseRendererImpl
- All Implemented Interfaces:
AjaxPartialResponseRenderer
-
Constructor Summary
ConstructorsConstructorDescriptionAjaxPartialResponseRendererImpl
(MarkupWriterFactory factory, Request request, Response response, PartialMarkupRenderer partialMarkupRenderer, String outputEncoding, boolean compactJSON) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Used to render a partial response as part of an Ajax action request.void
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.
-
Constructor Details
-
AjaxPartialResponseRendererImpl
public AjaxPartialResponseRendererImpl(MarkupWriterFactory factory, Request request, Response response, PartialMarkupRenderer partialMarkupRenderer, @Inject @Symbol("tapestry.charset") String outputEncoding, @Symbol("tapestry.compact-json") boolean compactJSON)
-
-
Method Details
-
renderPartialPageMarkup
Description copied from interface:AjaxPartialResponseRenderer
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. In effect, this] "enhances" the reply, which contains just data, to include UI aspects that are handled by client-side code on the client.- Specified by:
renderPartialPageMarkup
in interfaceAjaxPartialResponseRenderer
- Throws:
IOException
-
renderPartialPageMarkup
Description copied from interface:AjaxPartialResponseRenderer
Used to render a partial response as part of an Ajax action request. A call toPageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)
should precede this call.- Specified by:
renderPartialPageMarkup
in interfaceAjaxPartialResponseRenderer
- Throws:
IOException
-