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

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

Introduction

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

Prototype

String CONFIGURATION_ACTION

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

Click Source Link

Usage

From source file:com.liferay.portlet.configuration.web.internal.portlet.PortletConfigurationPortlet.java

License:Open Source License

protected void renderEditConfiguration(RenderRequest renderRequest, Portlet portlet) throws Exception {

    ConfigurationAction configurationAction = getConfigurationAction(portlet);

    if (configurationAction != null) {
        renderRequest.setAttribute(WebKeys.CONFIGURATION_ACTION, configurationAction);
    } else if (_log.isDebugEnabled()) {
        _log.debug("Configuration action is null");
    }//  ww  w  . java  2 s .co  m
}