2 Replies Latest reply on May 26, 2009 5:03 AM by ilya_shaikovsky

    Setting Background Colour For h:inputText

      Hello,

      I am disabling an HtmlInputText object programmatically and also want to override the skin background colour for the component to, say, light grey so the User can see it is disabled. Could you pls tell me how I can do this?

      Regards,

      Michael

        • 1. Re: Setting Background Colour For h:inputText

          I would really appreciate a repy to this. There are other areas in our application where we need to override the RichFaces skin for JSF components. It looks pretty easy for RichFaces components but not for JSF.

          Rgds,

          Michael

          • 2. Re: Setting Background Colour For h:inputText
            ilya_shaikovsky

            <u:selector name="textarea[type="textarea"][disabled], input[type="text"][disabled], input[type="password"][disabled], select[disabled]">
            <u:style name="color" skin="panelBorderColor" />
            </u:selector>


            this selector in standard skinning responsible for that. read more about standard elements skinning at dev guide.