1 package com.dotmarketing.portlets.folders.action; 2 3 import javax.portlet.PortletConfig; 4 import javax.portlet.RenderRequest; 5 import javax.portlet.RenderResponse; 6 import javax.servlet.jsp.PageContext ; 7 8 import org.apache.struts.action.ActionForm; 9 import org.apache.struts.action.ActionForward; 10 import org.apache.struts.action.ActionMapping; 11 12 import com.liferay.portal.struts.PortletAction; 13 import com.liferay.portal.util.Constants; 14 15 21 public class ViewFoldersPopupAction extends PortletAction { 22 23 public ActionForward render( 24 ActionMapping mapping, ActionForm form, PortletConfig config, 25 RenderRequest req, RenderResponse res) 26 throws Exception { 27 28 try { 29 return mapping.findForward("portlet.ext.folders.view_folders_popup"); 30 } 31 catch (Exception e) { 32 req.setAttribute(PageContext.EXCEPTION, e); 33 return mapping.findForward(Constants.COMMON_ERROR); 34 } 35 } 36 37 } | Popular Tags |