@Marker(value={Traditional.class,ComponentInstanceProcessor.class}) public class ComponentInstanceResultProcessor extends Object implements ComponentEventResultProcessor<Component>
Constructor and Description |
---|
ComponentInstanceResultProcessor(org.slf4j.Logger logger,
ComponentEventResultProcessor resultProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
processResultValue(Component value)
For a given, non-null return value from a component event method, construct and send a response.
|
public ComponentInstanceResultProcessor(org.slf4j.Logger logger, @Traditional@Primary ComponentEventResultProcessor resultProcessor)
public void processResultValue(Component 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<Component>
value
- the value returned from a methodIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.