Package com.dotmarketing.portlets.workflowmessages

Source Code of com.dotmarketing.portlets.workflowmessages.WorkflowMessagePortlet

package com.dotmarketing.portlets.workflowmessages;


import java.io.IOException;

import com.dotcms.repackage.javax.portlet.PortletException;
import com.dotcms.repackage.javax.portlet.RenderRequest;
import com.dotcms.repackage.javax.portlet.RenderResponse;

import com.liferay.portal.struts.Action;
import com.liferay.portal.struts.ActionException;
import com.liferay.portal.util.InstancePool;
import com.liferay.portlet.JSPPortlet;

public class WorkflowMessagePortlet extends JSPPortlet {
  public void doView(RenderRequest req, RenderResponse res)
    throws IOException, PortletException {

    try {
      Action a =
        (Action) InstancePool.get(
          "com.dotmarketing.portlets.workflowmessages.c.a.ViewWorkflowMessagesPortletAction");
      a.run(req, res);
    }
    catch (ActionException ae) {
      throw new PortletException(ae);
    }


    super.doView(req, res);
  }

}
TOP

Related Classes of com.dotmarketing.portlets.workflowmessages.WorkflowMessagePortlet

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.