0 Replies Latest reply on Jun 15, 2009 8:02 AM by msh321

    Support for variables in <skin-name>.skin.properties

    msh321

      Hi,

      I am trying out the skinning functionality in RichFaces 3.3.1.GA. I have one question: Is it possible to use variables in the "META-INF/skins/<SKIN-NAME>.skin.properties" file?

      I'd like to write something like the following pseudo-code snippet:

      ########################################
      baseSkin=classic

      DARK_BLUE=#223366
      LIGHT_BLUE=#4466DD

      headerBackgroundColor=${DARK_BLUE}
      panelBorderColor=${DARK_BLUE}
      ...
      ########################################

      If something like this is possible, I could avoid having to specify each color (and other things) more than once -- hence, the skin would be easier to maintain/change.

      Does anyone know whether RichFaces skinnability supports this feature already?

      Regards,
      Mads