List of usage examples for com.liferay.portal.kernel.util JavaConstants JAVAX_PORTLET_CONFIG
String JAVAX_PORTLET_CONFIG
To view the source code for com.liferay.portal.kernel.util JavaConstants JAVAX_PORTLET_CONFIG.
Click Source Link
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function doiChieuHoSoDoanhNghiepRequest * Version: 1.0//w w w . ja v a 2s .com * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param resourceRequest * @param httpReq * @throws NumberFormatException * @throws Exception */ public void doiChieuHoSoDoanhNghiepRequest(ActionRequest resourceRequest, ActionResponse httpReq) throws NumberFormatException, Exception { FormOfflineBusiness formOfflineBusiness = new FormOfflineBusiness(); formOfflineBusiness.doiChieuHoSoDoanhNghiepRequest(resourceRequest, httpReq); PortletConfig portletConfig = (PortletConfig) resourceRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(resourceRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function addTaiLieuUpload//from w w w. j av a 2s .c o m * Version: 1.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param resourceRequest * @param httpReq * @throws NumberFormatException * @throws Exception */ public void addTaiLieuUpload(ActionRequest resourceRequest, ActionResponse httpReq) throws NumberFormatException, Exception { FormOfflineBusiness formOfflineBusiness = new FormOfflineBusiness(); formOfflineBusiness.addFileUpload(resourceRequest, httpReq); PortletConfig portletConfig = (PortletConfig) resourceRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(resourceRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function addTaiLieuDoanhNghiepUpload * Version: 1.0//from w w w. ja v a2s .co m * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param resourceRequest * @param httpReq * @throws NumberFormatException * @throws Exception */ public void addTaiLieuDoanhNghiepUpload(ActionRequest resourceRequest, ActionResponse httpReq) throws NumberFormatException, Exception { FormOfflineBusiness formOfflineBusiness = new FormOfflineBusiness(); formOfflineBusiness.addFileDoanhNghiepUpload(resourceRequest, httpReq); PortletConfig portletConfig = (PortletConfig) resourceRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(resourceRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function traHoSoDoanhNghiepRequest * Version: 1.0//from w ww . j a v a 2 s . co m * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param resourceRequest * @param httpReq * @throws NumberFormatException * @throws Exception */ public void traHoSoDoanhNghiepRequest(ActionRequest resourceRequest, ActionResponse httpReq) throws NumberFormatException, Exception { FormOfflineBusiness formOfflineBusiness = new FormOfflineBusiness(); formOfflineBusiness.traHoSoDoanhNghiepRequest(resourceRequest, httpReq); PortletConfig portletConfig = (PortletConfig) resourceRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(resourceRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function searchMaDichVuCongRequest * Version: 1.0//from ww w . j av a 2 s .co m * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void searchMaDichVuCongRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { // Get search keyword, the keyword can either be Ten String searchKeyWord = ParamUtil.getString(actionRequest, "searchKeyWord").trim(); String transactionKeyword = ParamUtil.getString(actionRequest, "transactionKeyword").trim(); String transType = ParamUtil.getString(actionRequest, "transType").trim(); String statusHS = ParamUtil.getString(actionRequest, "statusHS").trim(); actionResponse.setRenderParameter("searchKeyWord", searchKeyWord); actionResponse.setRenderParameter("jspPage", "/html/portlet/ipmslistportlet/offline/nopHoSoOffline.jsp"); actionResponse.setRenderParameter("transactionKeyword", transactionKeyword); actionResponse.setRenderParameter("transType", transType); actionResponse.setRenderParameter("statusHS", statusHS); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function searchCongDan/*from w w w . j a v a 2 s . c om*/ * Version: 1.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new @param actionRequest * @param actionResponse * @throws Exception */ public void searchCongDan(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new FormOfflineBusiness().searchCongDanRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function searchCongDanNop/*from w w w . j a v a 2s . com*/ * Version: 1.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void searchCongDanNop(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new FormOfflineBusiness().searchCongDanNopRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function searchCongTy//from w w w .j ava 2s . c o m * Version: 1.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void searchCongTy(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new FormOfflineBusiness().searchDoanhNghiepRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function addHoSoRequest/* w w w .j a v a 2 s . c o m*/ * Version: 1.0 * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void addHoSoRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new FormOfflineBusiness().addHoSoRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }
From source file:org.oep.cmon.portlet.ipmslist.action.IPMSListPortlet.java
License:Apache License
/** * This is function addHoSoDoanhNghiepRequest * Version: 1.0//from w ww.jav a2s . c om * * History: * DATE AUTHOR DESCRIPTION * ------------------------------------------------- * 3-March-2013 Nam Dinh Create new * @param actionRequest * @param actionResponse * @throws Exception */ public void addHoSoDoanhNghiepRequest(ActionRequest actionRequest, ActionResponse actionResponse) throws Exception { new FormOfflineBusiness().addHoSoDoanhNghiepRequest(actionRequest, actionResponse); PortletConfig portletConfig = (PortletConfig) actionRequest .getAttribute(JavaConstants.JAVAX_PORTLET_CONFIG); SessionMessages.add(actionRequest, portletConfig.getPortletName() + SessionMessages.KEY_SUFFIX_HIDE_DEFAULT_ERROR_MESSAGE); }