public class AjaxURLComponentEventResultProcessor extends Object implements ComponentEventResultProcessor<URL>
URL
result types by building a JSON response with key "redirectURL".Constructor and Description |
---|
AjaxURLComponentEventResultProcessor(ComponentEventResultProcessor masterProcessor) |
Modifier and Type | Method and Description |
---|---|
void |
processResultValue(URL value)
For a given, non-null return value from a component event method, construct and send a response.
|
public AjaxURLComponentEventResultProcessor(@Ajax ComponentEventResultProcessor masterProcessor)
public void processResultValue(URL 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<URL>
value
- the value returned from a methodIOException
${project.version} - Copyright © 2003-2015 The Apache Software Foundation.