Search in sources :

Example 1 with ActionExecutingViewFactory

use of org.springframework.webflow.engine.support.ActionExecutingViewFactory in project cas by apereo.

the class AbstractCasWebflowConfigurer method createEndState.

@Override
public EndState createEndState(final Flow flow, final String id, final String viewId, final boolean redirect) {
    if (!redirect) {
        return createEndState(flow, id, viewId);
    }
    final Expression expression = createExpression(viewId, String.class);
    final ActionExecutingViewFactory viewFactory = new ActionExecutingViewFactory(new ExternalRedirectAction(expression));
    return createEndState(flow, id, viewFactory);
}
Also used : Expression(org.springframework.binding.expression.Expression) LiteralExpression(org.springframework.binding.expression.support.LiteralExpression) ActionExecutingViewFactory(org.springframework.webflow.engine.support.ActionExecutingViewFactory) ExternalRedirectAction(org.springframework.webflow.action.ExternalRedirectAction)

Aggregations

Expression (org.springframework.binding.expression.Expression)1 LiteralExpression (org.springframework.binding.expression.support.LiteralExpression)1 ExternalRedirectAction (org.springframework.webflow.action.ExternalRedirectAction)1 ActionExecutingViewFactory (org.springframework.webflow.engine.support.ActionExecutingViewFactory)1