Package org.glassfish.admingui.handlers
Class ThemeHandlers
- java.lang.Object
-
- org.glassfish.admingui.handlers.ThemeHandlers
-
public class ThemeHandlers extends Object
- Author:
- anilam
-
-
Constructor Summary
Constructors Constructor Description ThemeHandlers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidgetTheme(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)This method initializes the theme using the giventhemeNameandthemeVersion.static voidgetThemeFromIntegrationPoints(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)This method gets thethemeNameandthemeVersionviaIntegration Point.
-
-
-
Method Detail
-
getTheme
public static void getTheme(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method initializes the theme using the given
themeNameandthemeVersion. 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
themeNameandthemeVersionviaIntegration Point. If more than one is provided the one with the lowestprioritynumber will be used. This method should be invoked before the theme is accessed (for example on the initPage or beforeCreate of the login page).
-
-