2 Replies Latest reply on Nov 22, 2007 3:06 AM by ykravchenko

    loadStyle problem

    ykravchenko

      Does loadStyle works at all?

      I'm trying this simple example, and can't get desired result

      <a4j:loadStyle id="styleBasic" src="css/basic.css" rendered="true" />
      


      I'm using Richfaces 3.1.2 and jsf 1.1

        • 1. Re: loadStyle problem

          It works for sure.

          Maybe you point to the wrong path? Where is "css" folder location. If in the web content root, use "/css/basic.css"

          Other possible problem is overriding what you declare in the basic.css by classes declared latter (inserted latter in the head section). It is possible if you try to override style of components

          • 2. Re: loadStyle problem
            ykravchenko

            Sergey thank you for quick response.

            It seems to be my mistake. forgot to put <f:view> tag. That's what working for 12 hours means. :)

            Regards Yevgen