List of usage examples for com.liferay.portal.kernel.model Portlet isRequiresNamespacedParameters
public boolean isRequiresNamespacedParameters();
true
if the portlet will only process namespaced parameters. From source file:com.liferay.faces.bridge.ext.context.internal.PortalContextBridgeLiferayImpl.java
License:Open Source License
private boolean isLiferayNamespacingParameters(PortletRequest portletRequest) { boolean liferayNamespacingParameters = false; String portletId = (String) portletRequest.getAttribute(WebKeys.PORTLET_ID); try {/*from w w w .j a v a2 s .c om*/ ThemeDisplay themeDisplay = (ThemeDisplay) portletRequest.getAttribute(WebKeys.THEME_DISPLAY); Portlet portlet = PortletLocalServiceUtil.getPortletById(themeDisplay.getCompanyId(), portletId); liferayNamespacingParameters = portlet.isRequiresNamespacedParameters(); } catch (SystemException e) { logger.error(e); } return liferayNamespacingParameters; }