Package org.apache.tapestry5.services
Interface PartialMarkupRenderer
- All Known Implementing Classes:
PartialMarkupRendererTerminator
Defines an Ajax-oriented partial page render, wherein a render of a portion of a page occurs, and the content is
stored into a key ("content") of a
JSONObject
, which is sent to the client side as
the final response. Client-side JavaScript receives this reply and uses it to update a portion of the page.
The PartialMarkupRenderer service takes an ordered configuration of PartialMarkupRendererFilter
s. It can be
selected using the Primary
marker annotation.-
Method Summary
Modifier and TypeMethodDescriptionvoid
renderMarkup
(MarkupWriter writer, JSONObject reply) Implementations should perform work before or after passing the writer to the renderer.
-
Method Details
-
renderMarkup
Implementations should perform work before or after passing the writer to the renderer.- Parameters:
writer
- to which markup should be writtenreply
- JSONObject which will contain the partial response
-