2 Replies Latest reply on Mar 10, 2008 2:17 PM by Ilya Shaikovsky

    SKIN ValueExpression in XCSS with a4j:loadStyle

    Alexander Thömmes Newbie


      I'm using a4j:loadStyle with a XCSS resource to use the RichFaces SKIN-parameters in my CSS. Now I need something like a ValueExpression to a managed bean in my XCSS. I need this to controll the application-style with an Administration Panel. In this ManagedBean i store color, TextSize...

      This is my XCSS File:

      <?xml version="1.0" encoding="UTF-8"?>
      <f:template xmlns:f='http:/jsf.exadel.com/template'
       xmlns="http://www.w3.org/1999/xhtml" >
      .HeaderText {
       font-size: 20px;
      <u:selector name=".HeaderText">
       <u:style name="color" skin="panelBorderColor" />

      Here is my Question:

      The skin-param is in this file panelBorderColor. Is it possible to use something like #{Bean.MHeaderColor} instead of panelBorderColor to get informations of a ManagedBean?