Interface AjaxPartialResponseRenderer
- All Known Implementing Classes:
AjaxPartialResponseRendererImpl
public interface AjaxPartialResponseRenderer
Used to render portions of a page as part of an Ajax request. This
encapsulates rendering of the partial response and then the construction of a JSON reply. Works with the pipeline defined by the
PartialMarkupRenderer
service.- See Also:
-
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.
-
Method Details
-
renderPartialPageMarkup
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.- Throws:
IOException
-
renderPartialPageMarkup
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.- Parameters:
reply
-- Throws:
IOException
- Since:
- 5.4
-