org.apache.tapestry5.services

## Interface PartialMarkupRenderer

- All Known Implementing Classes:
    PartialMarkupRendererTerminator

      @UsesOrderedConfiguration(value=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 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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `renderMarkup(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 written
        `reply` - JSONObject which will contain the partial response

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.