Class SingleZonePartialRendererFilter
- java.lang.Object
-
- org.apache.tapestry5.internal.services.ajax.SingleZonePartialRendererFilter
-
- All Implemented Interfaces:
PartialMarkupRendererFilter
public class SingleZonePartialRendererFilter extends Object implements PartialMarkupRendererFilter
Responsible for capturing the content for a single zone and storing it into the JSON reply object. As aPartialMarkupRendererFilter
, this has access to theJSONObject
for the reply, and can add renderers that generate and package the markup content.- Since:
- 5.1.0.1
- See Also:
MultiZoneUpdate
,AjaxResponseRenderer.addRender(String, Object)
-
-
Constructor Summary
Constructors Constructor Description SingleZonePartialRendererFilter(String zoneId, RenderCommand zoneRenderCommand, PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer)
Implementations should perform work before or after passing the writer to the renderer.
-
-
-
Constructor Detail
-
SingleZonePartialRendererFilter
public SingleZonePartialRendererFilter(String zoneId, RenderCommand zoneRenderCommand, PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController)
-
-
Method Detail
-
renderMarkup
public void renderMarkup(MarkupWriter writer, JSONObject reply, PartialMarkupRenderer renderer)
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
-
-