1 package com.dotmarketing.portlets.workflowmessages; 2 3 4 import java.io.IOException ; 5 6 import javax.portlet.PortletException; 7 import javax.portlet.RenderRequest; 8 import javax.portlet.RenderResponse; 9 10 import com.liferay.portal.struts.Action; 11 import com.liferay.portal.struts.ActionException; 12 import com.liferay.portal.util.InstancePool; 13 import com.liferay.portlet.JSPPortlet; 14 15 public class WorkflowMessagePortlet extends JSPPortlet { 16 public void doView(RenderRequest req, RenderResponse res) 17 throws IOException , PortletException { 18 19 try { 20 Action a = 21 (Action) InstancePool.get( 22 "com.dotmarketing.portlets.workflowmessages.c.a.ViewWorkflowMessagesPortletAction"); 23 a.run(req, res); 24 } 25 catch (ActionException ae) { 26 throw new PortletException(ae); 27 } 28 29 30 super.doView(req, res); 31 } 32 33 } 34 | Popular Tags |