contextAttributes.put(StateManager.IS_SAVING_STATE, Boolean.TRUE);
if (strategy != null) {
result = strategy.saveView(context);
} else {
strategy = new JspStateManagementStrategy(context);
result = strategy.saveView(context);
}
} finally {
contextAttributes.remove(StateManager.IS_SAVING_STATE);
}