use of org.springframework.webflow.action.RenderAction in project cas by apereo.
the class AbstractCasWebflowConfigurer method createRenderAction.
@Override
public RenderAction createRenderAction(final String... fragmentExpression) {
val ctx = new FluentParserContext();
val expressionParser = this.flowBuilderServices.getExpressionParser();
val expressions = Arrays.stream(fragmentExpression).map(fg -> expressionParser.parseExpression(fg, ctx)).toArray(Expression[]::new);
val newAction = new RenderAction(expressions);
LOGGER.trace("Created render action for expressions [{}]", Arrays.toString(fragmentExpression));
return newAction;
}
Aggregations