1 Reply Latest reply on Nov 24, 2011 9:26 AM by Karsten Wutzke

    Dynamic ECSS not working

    Karsten Wutzke Expert

      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