Hello,
I have got the following ECSS file, which I have successfully included into my page:
{code}@charset "UTF-8";
.rf-dt-shdr-c
{
color: red;
background-image: none;
background-color: #EAF0F8;
}{code}
The above shows my page with the red text color and blue table sub header cell background colors, however datatable these colors are skin-dependent. When trying any of
{code}
@charset "UTF-8";
.rf-dt-shdr-c
{
color: '#{richSkin.generalTextColor}';
background-image: none;
background-color: '#{richSkin.generalBackgroundColor}';
}
{code}
nothing happens, that is the text color is white and the background color seems to be transparent.
Is there anything you have to configure when trying to reference the inbuilt richSkin bean via EL? Am I using it incorrectly? What's wrong here?
Karsten
The answer is here: http://community.jboss.org/thread/163588
You have to use JSF 2 h:outputStylesheet for the EL replacement to work.
Karsten