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 void
getTheme(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method initializes the theme using the giventhemeName
andthemeVersion
.static void
getThemeFromIntegrationPoints(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method gets thethemeName
andthemeVersion
viaIntegration Point
.
-
-
-
Method Detail
-
getTheme
public static void getTheme(com.sun.jsftemplating.layout.descriptors.handler.HandlerContext handlerCtx)
This method initializes the theme using the given
themeName
andthemeVersion
. 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
andthemeVersion
viaIntegration Point
. If more than one is provided the one with the lowestpriority
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).
-
-