Package org.rhq.enterprise.gui.legacy

Examples of org.rhq.enterprise.gui.legacy.Portal


        return null;
    }

    public ActionForward rsrcHealthAddResources(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Portal portal = Portal.createPortal("dash.settings.PageTitle.RH.addResources",
            ".dashContent.admin.resourcehealth.addResources");

        portal.setDialog(true);

        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here


        return null;
    }

    public ActionForward crtAlertsAddResources(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Portal portal = Portal.createPortal("dash.settings.PageTitle.A.addResources",
            ".dashContent.admin.criticalAlerts.addResources");

        portal.setDialog(true);

        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

        return null;
    }

    public ActionForward changeLayout(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Portal portal = Portal.createPortal("dash.settings.PageTitle.PL", ".dashContent.admin.changeLayout");

        portal.setDialog(true);

        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

        return null;
    }

    public ActionForward problemResources(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Portal portal = Portal.createPortal("dash.settings.PageTitle.PR", ".dashContent.admin.problemResources");

        portal.setDialog(true);

        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

        return null;
    }

    public ActionForward softwareSummary(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Portal portal = Portal.createPortal("dash.settings.PageTitle.SoftwareSummary",
            ".dashContent.admin.softwareSummary");

        portal.setDialog(true);

        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

        int refreshPeriod = preferences.getPageRefreshPeriod();
        if (UIConstants.DONT_REFRESH_PAGE != refreshPeriod) {
            request.setAttribute("refreshPeriod", String.valueOf(refreshPeriod));
        }

        Portal portal = (Portal) session.getAttribute(Constants.USERS_SES_PORTAL);
        if (portal == null) {
            portal = new Portal();
            portal.setName("dashboard.template.title");
            portal.setColumns(2);

            //construct from user preferences.
            portal.addPortletsFromString(dashboardPreferences.leftColumnPortletNames, 1);
            portal.addPortletsFromString(".dashContent.addContent.narrow", 1);

            portal.addPortletsFromString(dashboardPreferences.rightColumnPortletNames, 2);
            portal.addPortletsFromString(".dashContent.addContent.wide", 2);

            session.setAttribute(Constants.USERS_SES_PORTAL, portal);
        }

        request.setAttribute(Constants.PORTAL_KEY, portal);
View Full Code Here

    }

    public ActionForward editConfig(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {

        Portal portal = Portal.createPortal("admin.settings.EditServerConfig.Title", ".admin.config.EditConfig");
        portal.setDialog(true);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

        request.setAttribute(AttrConstants.ALL_SERVER_TYPES_ATTR, convertToComposite(serverTypes));
        request.setAttribute(AttrConstants.SERVICES_ATTR, convertToComposite(services));

        request.setAttribute("viewMode", viewMode);

        Portal p = Portal.createPortal("admin.home.ResourceTemplates", ".admin.config.EditMonitorConfig");
        request.setAttribute(AttrConstants.PORTAL_KEY, p);
        return null;
    }
View Full Code Here

     */
    public ActionForward execute(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Log log = LogFactory.getLog(AdminHomePortalAction.class.getName());

        Portal portal = Portal.createPortal(TITLE_HOME, PORTLET_HOME);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        String returnPath = ActionUtils.findReturnPath(mapping, null);
        if (log.isTraceEnabled()) {
            log.trace("setting return path: " + returnPath);
View Full Code Here

    public ActionForward listUsers(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        setReturnPath(request, mapping, Constants.MODE_LIST);

        Portal portal = Portal.createPortal(TITLE_LIST, PORTLET_LIST);
        portal.setWorkflowPortal(true);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

TOP

Related Classes of org.rhq.enterprise.gui.legacy.Portal

Copyright © 2018 www.massapicom. 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.