public interface PageRenderQueue
RenderQueue
, but referencable as a (per-thread) service. This
service is scoped so that we can tell it what to render in one method, then have it do the render in another. Part of
an elaborate scheme to keep certain interfaces public and other closely related ones private.void initializeForCompletePage(Page page)
void setRenderingPage(Page page)
Page getRenderingPage()
void addPartialRenderer(RenderCommand renderer)
renderer
- responsible for rendering a portion of the final markupboolean isPartialRenderInitialized()
addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)
or
addPartialMarkupRendererFilter(org.apache.tapestry5.services.PartialMarkupRendererFilter)
has been invoked.void render(MarkupWriter writer)
initializeForCompletePage(org.apache.tapestry5.internal.structure.Page)
or
addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)
methods.writer
- to write markup tovoid renderPartial(MarkupWriter writer, JSONObject reply)
addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)
.writer
- to which markup should be writtenreply
- JSONObject which will contain the partial responsevoid addPartialMarkupRendererFilter(PartialMarkupRendererFilter filter)
PartialMarkupRenderer
service which are permanent, shared and stateless.
Filters are added to the end of the pipeline (after all permanent contributions).
Filters will be executed in the order in which they are added.filter
- to add to the pipeline${project.version} - Copyright © 2003-2015 The Apache Software Foundation.