11 Replies Latest reply on Dec 12, 2007 8:23 PM by Cameron Rochester

    Style override broken in 3.1.2GA and 3.1.3CR2

    Cameron Rochester Newbie

      I am trying to override the tooltip style by providing my own css class for
      rich-tool-tip.

      Unfortunately this is never applied because the rich style is appended at the end of the head element overriding all other styles. The only way I can make it work is by using !important in my css.

      
      <head>
      
      <!-- My CSS include -->
      
      <link href="/tcms/css/common.css" type="text/css" rel="stylesheet">
      </link>
      
      <title>Page</title>
      
      <!-- rich faces css automatically appended -->
      <link href="/tcms/faces/a4j_3_1_3.CR2org/richfaces/renderkit/html/css/tooltip.xcss/DATB/eAGTWzQ.BgAD.AG8" type="text/css" rel="stylesheet">
      </link>
      </head>
      


      The relevant section from my web.xml
       <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
       <filter>
       <display-name>Ajax4jsf Filter</display-name>
       <filter-name>ajax4jsf</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
       <filter-mapping>
       <filter-name>ajax4jsf</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
      


      Do I have something configured wrong or is there something else I need to do?

      Cheers
      Cameron