Package org.rhq.enterprise.gui.legacy

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


        HttpSession session = request.getSession();

        WebUser user = SessionUtils.getWebUser(session);
        request.setAttribute("userId", user.getId());

        Portal portal = Portal.createPortal("start.template.title", ".portal.start.layout");
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here


     * // now add the first entry, the resources we are trying to show,   // using a value from
     * ApplicationResource.properties   // e.g. resource.navigation.JBossEntityEJBs.filter
     * hubForm.addTypeFirst(createMenuLabel(request, hubForm.getCategoryName() + ".filter", ""));}*/

    protected Portal createPortal() {
        Portal portal = Portal.createPortal("resource.hub.ResourceHubTitle", ".navigation.hub");
        return portal;
    }
View Full Code Here

     */
    public ActionForward configMetrics(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        setResource(request);
        super.configMetrics(mapping, form, request, response);
        Portal portal = Portal.createPortal(CONFIG_METRICS_TITLE, CONFIG_METRICS_PORTAL);
        request.setAttribute(AttrConstants.PORTAL_KEY, portal);
        return null;
    }
View Full Code Here

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

        setResource(request);

        Portal portal = Portal.createPortal(EVENTS_TITLE, EVENTS_PORTAL);
        request.setAttribute(AttrConstants.PORTAL_KEY, portal);
        return null;
    }
View Full Code Here

    }

    public ActionForward editRange(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        setResource(request);
        Portal portal = Portal.createPortal(EDIT_RANGE_TITLE, EDIT_RANGE_PORLET);
        portal.setWorkflowPortal(true);
        request.setAttribute(AttrConstants.PORTAL_KEY, portal);
        return null;
    }
View Full Code Here

        return keyMethodMap;
    }

    public ActionForward newResource(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception {
        Portal portal = Portal.createPortal("resource.group.inventory.NewGroup", ".resource.group.inventory.NewGroup");
        portal.setDialog(true);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

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

        Portal portal = Portal.createPortal("resource.group.inventory.EditGeneralProperties",
            ".resource.group.inventory.EditGeneralProperties");
        portal.setDialog(true);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

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

        Portal portal = Portal.createPortal("resource.group.inventory.EditTypeAndHostProperties",
            ".resource.group.inventory.EditTypeAndHostProperties");
        portal.setDialog(true);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

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

        Portal portal = Portal.createPortal("resource.group.inventory.AddResources",
            ".resource.group.inventory.AddResources");
        portal.setDialog(true);
        request.setAttribute(Constants.PORTAL_KEY, portal);

        return null;
    }
View Full Code Here

            if (log.isDebugEnabled()) {
                log.debug("returnPath error:", pne);
            }
        }

        Portal portal = Portal
            .createPortal("resource.group.inventory.ViewGroup", ".resource.group.inventory.ViewGroup");
        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.