Class AjaxPartialResponseRendererImpl
-
- org.apache.tapestry5.internal.services.AjaxPartialResponseRendererImpl
-
- All Implemented Interfaces:
AjaxPartialResponseRenderer
public class AjaxPartialResponseRendererImpl extends implements AjaxPartialResponseRenderer
-
-
Constructor Summary
Constructors Constructor Description AjaxPartialResponseRendererImpl(MarkupWriterFactory factory, Request request, Response response, PartialMarkupRenderer partialMarkupRenderer, outputEncoding, boolean compactJSON)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
AjaxPartialResponseRendererImpl
public AjaxPartialResponseRendererImpl(MarkupWriterFactory factory, Request request, Response response, PartialMarkupRenderer partialMarkupRenderer, @Inject @Symbol("tapestry.charset") outputEncoding, @Symbol("tapestry.compact-json") boolean compactJSON)
-
-
Method Detail
-
renderPartialPageMarkup
public void renderPartialPageMarkup(JSONObject reply) throws
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:
-
renderPartialPageMarkup
public void renderPartialPageMarkup() throws
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:
-
-