Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2012 The Apache Software Foundation.