Class ThemeHandlers


  • public class ThemeHandlers
    extends Object
    Author:
    anilam
    • Constructor Detail

      • ThemeHandlers

        public ThemeHandlers()
    • Method Detail

      • getTheme

        public static void getTheme​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This method initializes the theme using the given themeName and themeVersion. If these values are not supplied, "suntheme" and "4.2" will be used respectively. This method should be invoked before the theme is accessed (for example on the initPage or beforeCreate of the login page).

      • getThemeFromIntegrationPoints

        public static void getThemeFromIntegrationPoints​(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)

        This method gets the themeName and themeVersion via Integration Point. If more than one is provided the one with the lowest priority number will be used. This method should be invoked before the theme is accessed (for example on the initPage or beforeCreate of the login page).