public CommandResponse actionRedirectToSection(CommandRequest request) throws Exception {
final Object currentPanelIfAny = request.getRequestObject().getAttribute(Parameters.RENDER_PANEL);
String page = request.getRequestObject().getParameter(PARAM_PAGE_TO_REDIRECT);
if (page != null && !"".equals(page.trim())) {
return new ShowScreenResponse(page) {
public boolean execute(CommandRequest cmdReq) throws Exception {
cmdReq.getRequestObject().setAttribute(Parameters.RENDER_PANEL, currentPanelIfAny);
boolean b = super.execute(cmdReq);
cmdReq.getRequestObject().removeAttribute(Parameters.RENDER_PANEL);
return b;