}
@PostConstructResource
public final void initialize() {
FacesContext context = FacesContext.getCurrentInstance();
Skin skin = SkinFactory.getInstance(context).getSkin(context);
Skin defaultSkin = SkinFactory.getInstance(context).getDefaultSkin(context);
String skinParameter = "headerBackgroundColor";
String tmp = (String) skin.getParameter(context, skinParameter);
if (null == tmp || "".equals(tmp)) {
tmp = (String) defaultSkin.getParameter(context, skinParameter);
}
this.setHeaderBackgroundColor(Color.decode(tmp == null ? "#224986" : tmp).getRGB());
skinParameter = "headerGradientColor";
tmp = (String) skin.getParameter(context, skinParameter);
if (null == tmp || "".equals(tmp)) {
tmp = (String) defaultSkin.getParameter(context, skinParameter);
}
this.setHeaderGradientColor(Color.decode(tmp == null ? "#CCCCFF" : tmp).getRGB());
if (getSeparatorHeight() == null) {
setSeparatorHeight(0);