public class MultiZoneUpdateEventResultProcessor extends Object implements ComponentEventResultProcessor<MultiZoneUpdate>
MultiZoneUpdate
responses from a component event handler method. Works
by adding SingleZonePartialRendererFilter
s for each zone to the
filter stack. Each zone writes its content as a string in the zones object of the reply, keyed on its id.
JavaScript and CSS are collected for all zones rendered in the request (not for each individual zone). The final
response will have some combination of "script", "scripts", "stylesheets", "content" (which is expected to be blank)
and "zones".Constructor and Description |
---|
MultiZoneUpdateEventResultProcessor(TypeCoercer typeCoercer,
AjaxResponseRenderer ajaxResponseRenderer,
AjaxPartialResponseRenderer partialRenderer)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
processResultValue(MultiZoneUpdate value)
Deprecated.
For a given, non-null return value from a component event method, construct and send a response.
|
public MultiZoneUpdateEventResultProcessor(TypeCoercer typeCoercer, AjaxResponseRenderer ajaxResponseRenderer, AjaxPartialResponseRenderer partialRenderer)
public void processResultValue(MultiZoneUpdate value) throws IOException
ComponentEventResultProcessor
IOOperation
to do the rendering, and
add the operation to the Request
as attribute
TapestryConstants.RESPONSE_RENDERER
.
This avoids a number of issues related to the Environment
.processResultValue
in interface ComponentEventResultProcessor<MultiZoneUpdate>
value
- the value returned from a methodIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.