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 thePartialMarkupRendererservice.- See Also:
- PageRenderQueue
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrenderPartialPageMarkup()Used to render a partial response as part of an Ajax action request.voidrenderPartialPageMarkup(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- 
renderPartialPageMarkupvoid renderPartialPageMarkup() throws IOException Used to render a partial response as part of an Ajax action request. A call toPageRenderQueue.addPartialRenderer(org.apache.tapestry5.runtime.RenderCommand)should precede this call.- Throws:
- IOException
 
 - 
renderPartialPageMarkupvoid renderPartialPageMarkup(JSONObject reply) throws 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:
- IOException
- Since:
- 5.4
 
 
- 
 
-