Class SingleZonePartialRendererFilter
java.lang.Object
org.apache.tapestry5.internal.services.ajax.SingleZonePartialRendererFilter
- All Implemented Interfaces:
PartialMarkupRendererFilter
Responsible for capturing the content for a single zone and storing it into the JSON reply object. As a
PartialMarkupRendererFilter
, this
has access to the JSONObject
for the reply, and can add renderers that generate and package the markup content.- Since:
- 5.1.0.1
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionSingleZonePartialRendererFilter
(String zoneId, RenderCommand zoneRenderCommand, PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController) -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderMarkup
(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer) Implementations should perform work before or after passing the writer to the renderer.
-
Constructor Details
-
SingleZonePartialRendererFilter
public SingleZonePartialRendererFilter(String zoneId, RenderCommand zoneRenderCommand, PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController)
-
-
Method Details
-
renderMarkup
Description copied from interface:PartialMarkupRendererFilter
Implementations should perform work before or after passing the writer to the renderer.- Specified by:
renderMarkup
in interfacePartialMarkupRendererFilter
- Parameters:
writer
- to which markup should be writtenreply
- JSONObject which will contain the partial responserenderer
- delegate to which the writer should be passed
-