I am creating a multilingual web application using JSF 2.0.
For css I used to use
<h:outputStylesheet library="css" name="setFontForAll.css"/>
and inside the CSS file I had
font-size:
However, due to CSS caching, the same CSS file exists, and I get the font as 10pt continuously, even if I choose Arabic.
Therefore, I added time after CSS.
<h:outputStylesheet library="css" name="setFontForAll.css?#{language.myTimeinMill}"/>
However, when I use this, all my CSS go for the drop ... I see the default page setting (no css is called)
When I see the view source, I get <link type="text/css" rel="stylesheet" href="RES_NOT_FOUND" />
Any idea what I'm doing wrong?
Note. I am using JSF 2.0
I also print #{language.myTimeinMill} inside the body and see a different time each time.
source share