T
- @UsesMappedConfiguration(key=java.lang.Class.class, value=ComponentEventResultProcessor.class) public interface ComponentEventResultProcessor<T>
Traditional
and/or @Primary
marker annotations) and
AjaxComponentEventResultProcessor, used
for Ajax requests (which typically return a partially rendered page), distinguished by the @Ajax
marker annotation.Modifier and Type | Method and Description |
---|---|
void |
processResultValue(T value)
For a given, non-null return value from a component event method, construct and send a response.
|
void processResultValue(T value) throws IOException
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
.value
- the value returned from a methodRuntimeException
- if the value can not handledIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.