Example usage for com.liferay.portal.kernel.theme PortletDisplay getURLConfigurationJS

List of usage examples for com.liferay.portal.kernel.theme PortletDisplay getURLConfigurationJS

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.theme PortletDisplay getURLConfigurationJS.

Prototype

public String getURLConfigurationJS() 

Source Link

Usage

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

License:Open Source License

@Override
public String getOnClick(PortletRequest portletRequest, PortletResponse portletResponse) {

    ThemeDisplay themeDisplay = (ThemeDisplay) portletRequest.getAttribute(WebKeys.THEME_DISPLAY);

    PortletDisplay portletDisplay = themeDisplay.getPortletDisplay();

    return portletDisplay.getURLConfigurationJS();
}