Package com.liferay.portal.struts

Examples of com.liferay.portal.struts.PortletAction


          PollsDisplay display =
            PollsDisplayManagerUtil.updateDisplay(config.getPortletName(),
              question.getQuestionId());

          PortletAction pa = (PortletAction)InstancePool.get(
            ViewAction.class.getName());

          return pa.render(mapping, form, config, req, res);
        }
        catch (NoSuchQuestionException nsne) {
          req.removeAttribute(WebKeys.POLLS_DISPLAY);

          SessionErrors.add(
View Full Code Here


      if (e != null &&
        e instanceof NoSuchDisplayException) {

        req.removeAttribute(WebKeys.POLLS_DISPLAY);

        PortletAction pa = (PortletAction)InstancePool.get(
          SetupAction.class.getName());

        return pa.render(mapping, form, config, req, res);
      }
      else {
        req.setAttribute(PageContext.EXCEPTION, e);

        return mapping.findForward(Constants.COMMON_ERROR);
View Full Code Here

    }

    String cmd = req.getParameter(Constants.CMD);

    if (cmd != null) {
      PortletAction pa = (PortletAction)InstancePool.get(
        com.liferay.portlet.admin.action.CreateUserAction.class.
          getName());

      pa.processAction(mapping, form, config, req, res);
    }
    else {
      setForward(req, "portlet.admin.list_users");
    }
  }
View Full Code Here

    }
    catch (Exception e) {
    }

    if (hasVoted) {
      PortletAction pa = (PortletAction)InstancePool.get(
        ViewResultsAction.class.getName());

      return pa.render(mapping, form, config, req, res);
    }
    else {
      try {
        ActionUtil.getQuestion(req);
View Full Code Here

TOP

Related Classes of com.liferay.portal.struts.PortletAction

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.