0 Replies Latest reply on Dec 16, 2011 11:34 AM by jagal

    How to define the order of css file in head section (migration from RF3.2.1 to RF4.0)

    jagal

      Hi,

       

      I migrate my application from RF3.2.1 to RF4.0.

      I have override a lot of standard style in my own ccs file, but in RF4.0, my css are included before the standard component stylesheet.

       

      For example :

      <rich:dataTable id="list" rows="10" value="#{blogView.allBlogentry}" var="var" styleClass="list-blogentry">

       

      I want override the default datatable style with my own style .list-blogentry,

      but in RF4.0, the standard style of the datatable is included after my css in the html head section, so my css does not override the default style.

       

      This is my head section :

       

      <h:head>

                 

      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

                  <h:outputScript src="resource://jquery.js" />

                  <link href="#{facesContext.externalContext.requestContextPath}/css/style.css" rel="stylesheet" type="text/css" />

      </h:head>

       

       

      Please, how i can change the order of included file in the head section ?

       

      Regards.