if (StringUtils.hasText(state.getCommit())) {
attributes.put("commit", fromStringTo(Boolean.class).execute(state.getCommit()));
}
parseAndPutSecured(state.getSecured(), attributes);
Action finalResponseAction;
ViewFactory viewFactory = parseViewFactory(state.getView(), state.getId(), true, null);
if (viewFactory != null) {
finalResponseAction = new ViewFactoryActionAdapter(viewFactory);
} else {
finalResponseAction = null;
}