0 Replies Latest reply on Jun 1, 2009 3:06 PM by Dmitri Zakharov

    Customizing rich:calendar image button

    Dmitri Zakharov Newbie

      Hello everybody,

      Is there any way to customize rich:calendar image button? I am particularly interested in making image border thinner - 1px (the same way as in RichFaces demo for rich:calendar http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf?c=calendar&tab=usage

      The image that is generated by default using the tag (below) already contains thick border.

      <rich:calendar id="afterDate" datePattern="MMM dd, yyyy" value="#{claimCriteria.afterDate}"/>

      Trying to override it by setting CSS "buttonClass" attribute to "rich-calendar-button", where rich-calendar-button is defined in *.css file as follows:

      .rich-calendar-button {border: 1px;}

      does not seem to have an effect on image button drawing (which seems to be happening somewhere automatically)

      I am using the following version or RichFaces:

      JBoss Seam: 2.1.1.GA
      richfaces : 3.2.2.SR1

      Any suggestions and leads are appreciated. Thank you.