Example usage for com.liferay.portal.kernel.util WebKeys LAYOUT_DESCRIPTIONS

List of usage examples for com.liferay.portal.kernel.util WebKeys LAYOUT_DESCRIPTIONS

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util WebKeys LAYOUT_DESCRIPTIONS.

Prototype

String LAYOUT_DESCRIPTIONS

To view the source code for com.liferay.portal.kernel.util WebKeys LAYOUT_DESCRIPTIONS.

Click Source Link

Usage

From source file:com.liferay.layout.admin.web.internal.display.context.LayoutsAdminDisplayContext.java

License:Open Source License

public LayoutsAdminDisplayContext(LiferayPortletRequest liferayPortletRequest,
        LiferayPortletResponse liferayPortletResponse) {

    _liferayPortletRequest = liferayPortletRequest;
    _liferayPortletResponse = liferayPortletResponse;

    _themeDisplay = (ThemeDisplay) liferayPortletRequest.getAttribute(WebKeys.THEME_DISPLAY);

    _groupDisplayContextHelper = new GroupDisplayContextHelper(
            PortalUtil.getHttpServletRequest(liferayPortletRequest));

    _liferayPortletRequest.setAttribute(WebKeys.LAYOUT_DESCRIPTIONS, getLayoutDescriptions());
}