This content has been marked as final.
Show 2 replies
-
1. Re: Reading skin properties from java code
nbelaevski Jan 26, 2010 4:40 AM (in response to jagin)1 of 1 people found this helpfulHi Jarek,
Check this classes: org.richfaces.skin.SkinFactory & org.richfaces.skin.Skin.
-
2. Re: Reading skin properties from java code
jagin Jan 26, 2010 6:21 AM (in response to nbelaevski)Thanks Nick for the hint.
The solution is:
FacesContext facesContext = FacesContext.getCurrentInstance();
Skin skin = SkinFactory.getInstance().getSkin(facesContext);String clr = skin.getParameter(facesContext, skin.headerBackgroundColor);