Get theme display



    The code assigns the ThemeDisplay attribute to the actionRequest object. The ThemeDisplay attribute returns a ThemeDisplay object, which describes the currently displayed theme.

    Library: Liferay

    ThemeDisplay themeDisplay = (ThemeDisplay) actionRequest.getAttribute(WebKeys.THEME_DISPLAY);
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.