javadoc
This commit is contained in:
@@ -925,7 +925,10 @@ public class FlowModelFlowBuilder extends AbstractFlowBuilder {
|
||||
try {
|
||||
return resource.createRelative(location);
|
||||
} catch (IOException e) {
|
||||
throw new RuntimeException(e);
|
||||
IllegalArgumentException iae = new IllegalArgumentException(
|
||||
"Unable to access a flow relative resource at location '" + location + "'");
|
||||
iae.initCause(e);
|
||||
throw iae;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,5 +26,12 @@ import org.springframework.webflow.execution.RequestContext;
|
||||
* @see ViewResolver
|
||||
*/
|
||||
public interface FlowViewResolver {
|
||||
|
||||
/**
|
||||
* Resolve the Spring MVC view with the provided id.
|
||||
* @param viewId the view id, typically treated as a Spring MVC view name
|
||||
* @param context the currently executing flow
|
||||
* @return the resolved Spring MVC view
|
||||
*/
|
||||
public View resolveView(String viewId, RequestContext context);
|
||||
}
|
||||
Reference in New Issue
Block a user