Package org.apache.tapestry5.services
Interface PartialMarkupRenderer
-
- All Known Implementing Classes:
PartialMarkupRendererTerminator
@UsesOrderedConfiguration(PartialMarkupRendererFilter.class) public interface PartialMarkupRenderer
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 aJSONObject, 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 ofPartialMarkupRendererFilters. It can be selected using thePrimarymarker annotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrenderMarkup(MarkupWriter writer, JSONObject reply)Implementations should perform work before or after passing the writer to the renderer.
-
-
-
Method Detail
-
renderMarkup
void renderMarkup(MarkupWriter writer, JSONObject reply)
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
-
-