|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tapestry5.internal.services.ajax.AjaxResponseRendererImpl
public class AjaxResponseRendererImpl
Constructor Summary | |
---|---|
AjaxResponseRendererImpl(PageRenderQueue queue,
AjaxFormUpdateController ajaxFormUpdateController,
TypeCoercer typeCoercer,
JavaScriptSupport javaScriptSupport)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AjaxResponseRendererImpl(PageRenderQueue queue, AjaxFormUpdateController ajaxFormUpdateController, TypeCoercer typeCoercer, JavaScriptSupport javaScriptSupport)
Method Detail |
---|
public AjaxResponseRenderer addRender(String clientId, Object renderer)
AjaxResponseRenderer
addRender
in interface AjaxResponseRenderer
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
.
public AjaxResponseRenderer addRender(ClientBodyElement zone)
AjaxResponseRenderer
addRender
in interface AjaxResponseRenderer
zone
- the element that contains both a client id and a body (this is primarily used to represent a Zone
component).
public AjaxResponseRenderer addCallback(JavaScriptCallback callback)
AjaxResponseRenderer
addCallback
in interface AjaxResponseRenderer
callback
- object to be invoked
public AjaxResponseRenderer addCallback(Runnable callback)
AjaxResponseRenderer
addCallback
in interface AjaxResponseRenderer
callback
- object to be invoked
public AjaxResponseRenderer addFilter(PartialMarkupRendererFilter filter)
AjaxResponseRenderer
PartialMarkupRenderer
service.
addFilter
in interface AjaxResponseRenderer
public AjaxResponseRenderer addCallback(JSONCallback callback)
AjaxResponseRenderer
addCallback
in interface AjaxResponseRenderer
callback
- object o be invoked
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |