Package org.apache.tapestry5.internal.services

## 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:
    `PageRenderQueue`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `renderPartialPageMarkup()` | Used to render a partial response as part of an Ajax action request.
    `void` | `renderPartialPageMarkup​(JSONObject reply)` | 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 Detail

    - #### renderPartialPageMarkup

          void renderPartialPageMarkup()
                                throws java.io.IOException

      Used to render a partial response as part of an Ajax action request. A call to `PageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)` should precede this call.
      Throws:
        `java.io.IOException`

    - #### renderPartialPageMarkup

          void renderPartialPageMarkup​(JSONObject reply)
                                throws java.io.IOException

      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:
        `java.io.IOException`
      Since:
        5.4