|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AjaxResponseRenderer
Manages the rendering of a partial page render as part of an Ajax response. This replaces
the MultiZoneUpdate introduced in Tapestry 5.1. Much of the API is used to
queue behaviors that take effect when partial markup rendering takes place.
PartialMarkupRendererFilter to
the PageRenderQueue.
| Method Summary | |
|---|---|
AjaxResponseRenderer |
addCallback(JavaScriptCallback callback)
Queues a callback to execute during the partial markup render. |
AjaxResponseRenderer |
addCallback(JSONCallback callback)
Queues a callback to execute during the partial markup render. |
AjaxResponseRenderer |
addCallback(Runnable callback)
Queues a callback to execute during the partial markup render. |
AjaxResponseRenderer |
addFilter(PartialMarkupRendererFilter filter)
Adds a rendering filter. |
AjaxResponseRenderer |
addRender(ClientBodyElement zone)
Queues an update to the zone, using the zone's body as the new content. |
AjaxResponseRenderer |
addRender(String clientId,
Object renderer)
Queues the renderer to render markup for the client-side element with the provided id. |
| Method Detail |
|---|
AjaxResponseRenderer addRender(String clientId,
Object renderer)
clientId - client id of zone to update with the content from the rendererrenderer - a Block, Component or other object that can be
coerced to RenderCommand.
AjaxResponseRenderer addRender(ClientBodyElement zone)
zone - the element that contains both a client id and a body (this is primarily used to represent a Zone component).
AjaxResponseRenderer addCallback(JavaScriptCallback callback)
callback - object to be invoked
AjaxResponseRenderer addCallback(Runnable callback)
callback - object to be invoked
AjaxResponseRenderer addFilter(PartialMarkupRendererFilter filter)
PartialMarkupRenderer service.
AjaxResponseRenderer addCallback(JSONCallback callback)
callback - object o be invoked
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||