I am trying get the "theme_display" in a Web Content Template (on Liferay Portal 6.2). But it does not work.
#set($serviceContext = $portal.getClass().forName("com.liferay.portal.service.ServiceContextThreadLocal").getServiceContext())
#set($httpServletRequest = $serviceContext.getRequest())
#set($objThemeDisplay = $httpServletRequest.getAttribute("THEME_DISPLAY"))
$themeDisplay
$theme_display
$request.themeDisplay
$request.get("theme-display")