Package org.springframework.webflow.action

Examples of org.springframework.webflow.action.ExternalRedirectAction


      }
    } else if (view.startsWith("externalRedirect:")) {
      String encodedUrl = view.substring("externalRedirect:".length());
      Expression externalUrl = getLocalContext().getExpressionParser().parseExpression(encodedUrl,
          new FluentParserContext().template().evaluate(RequestContext.class).expectResult(String.class));
      return new ActionExecutingViewFactory(new ExternalRedirectAction(externalUrl));
    } else if (view.startsWith("flowRedirect:")) {
      String flowRedirect = view.substring("flowRedirect:".length());
      Expression expression = getLocalContext().getExpressionParser().parseExpression(flowRedirect,
          new FluentParserContext().template().evaluate(RequestContext.class).expectResult(String.class));
      return new ActionExecutingViewFactory(new FlowDefinitionRedirectAction(expression));
View Full Code Here


      }
    } else if (view.startsWith("externalRedirect:")) {
      String encodedUrl = view.substring("externalRedirect:".length());
      Expression externalUrl = getLocalContext().getExpressionParser().parseExpression(encodedUrl,
          new FluentParserContext().template().evaluate(RequestContext.class).expectResult(String.class));
      return new ActionExecutingViewFactory(new ExternalRedirectAction(externalUrl));
    } else if (view.startsWith("flowRedirect:")) {
      String flowRedirect = view.substring("flowRedirect:".length());
      Expression expression = getLocalContext().getExpressionParser().parseExpression(flowRedirect,
          new FluentParserContext().template().evaluate(RequestContext.class).expectResult(String.class));
      return new ActionExecutingViewFactory(new FlowDefinitionRedirectAction(expression));
View Full Code Here

TOP

Related Classes of org.springframework.webflow.action.ExternalRedirectAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.