3 Replies Latest reply on May 3, 2010 5:26 AM by ilya_shaikovsky

    Skin doesn't support transparent colour

    crispyozau

      Hi,

       

      I have  a drop down menu on my application (Richfaces 3.3.3) and my designer designed me a nice looking panel to put it on, however since I can't set the panel my menu sits on to a transparent colour, my nicely designed panel will not be seen.

       

      If I put "transparent" as the colour for my background on this panel, RF throws an exception because it expects a numeric value. Is there any way to get around this?

       

      java.lang.IllegalArgumentException: Parameter "color" for convert from HTML to java can not be decoded: [transparent], reason: For input string: "transparent"
      at org.ajax4jsf.util.HtmlColor.decode(HtmlColor.java:73)
      at org.richfaces.renderkit.html.BaseGradient.decodeColor(BaseGradient.java:248)
      at org.richfaces.renderkit.html.BaseGradient.getColorValueParameter(BaseGradient.java:321)
      at org.richfaces.renderkit.html.BaseGradient.saveData(BaseGradient.java:260)
      at org.richfaces.renderkit.html.images.BaseControlBackgroundImage.saveData(BaseControlBackgroundImage.java:102)
      at org.richfaces.renderkit.html.BaseGradient.getDataToStore(BaseGradient.java:289)
      Thanks for any advice
      Chris