public class AjaxLinkComponentEventResultProcessor extends Object implements ComponentEventResultProcessor<Link>
Link result types by building a JSON response with key "redirectURL".| Constructor and Description |
|---|
AjaxLinkComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
processResultValue(Link value)
For a given, non-null return value from a component event method, construct and send a response.
|
public AjaxLinkComponentEventResultProcessor(@Ajax ComponentEventResultProcessor masterProcessor)
public void processResultValue(Link value) throws IOException
ComponentEventResultProcessorIOOperation 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<Link>value - the value returned from a methodIOException5.6.4 - Copyright © 2003-2021 The Apache Software Foundation.