Examples of ShowPanelPage


Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

    public CommandResponse panelActionHelpMode(Panel panel, CommandRequest request) throws Exception {
        if (supportsHelpMode(panel)) {
            log.debug("Setting panel in help mode " + panel.getPanelId());
            activateHelpMode(panel, request);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

    }

    public CommandResponse panelActionStartConfig(Panel panel, CommandRequest request) throws Exception {
        log.debug("Setting panel in config mode " + panel.getPanelId());
        activateConfigMode(panel, request);
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        try {
            txFragment.execute();
        } catch (Exception e) {
            log.error("Can't remove panel from region.", e);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        try {
            txFragment.execute();
        } catch (Exception e) {
            log.error("Can't move back panel in region.", e);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        try {
            txFragment.execute();
        } catch (Exception e) {
            log.error("Can't move forward panel in region.", e);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        try {
            txFragment.execute();
        } catch (Exception e) {
            log.error("Panel " + panel.getPanelId() + " can't be removed.", e);
        }
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

    /**
     * Invalidates panel cache
     */
    public CommandResponse panelActionInvalidateCache(Panel panel, CommandRequest request) {
        // TODO: Invalidate panel cache here
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

                panelStatus.setStatus(PanelSession.STATUS_REGULAR_SIZE);
            }
        }

        if (StringUtils.defaultString(request.getRequestObject().getHeader("user-agent")).contains("MSIE"))
            return new ShowPanelPage();

        return new ShowJSPAjaxResponse("/section/render_tabbed_region.jsp", panel.getRegion());
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

     * @param panel
     * @param request
     * @return ShowPanelPage
     */
    public CommandResponse panelActionRefreshPanel(Panel panel, CommandRequest request) {
        return new ShowPanelPage();
    }
View Full Code Here

Examples of org.jboss.dashboard.ui.controller.responses.ShowPanelPage

        String action = req.getRequestObject().getParameter(Parameters.DISPATCH_ACTION);
        PanelSession session = panel.getPanelSession();
        if (!isSystemAction(action) && !Boolean.TRUE.equals(session.getAttribute(PARAMETER_ACTION_EXECUTED_ENABLED)) && isDoubleClickProtected(action)) {
            // Factory actions have their own double click control.
            log.warn("Discarding duplicated execution in panel " + panel.getInstance().getProvider().getDescription() + ", action: " + action + ". User should be advised not to double click!");
            return new ShowPanelPage();
        }
        if (!isSystemAction(action)) {
            session.removeAttribute(PARAMETER_ACTION_EXECUTED_ENABLED);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.