I am creating multi-language web based application using JSF 2.0.
For css earlier I was using
<h:outputStylesheet library="css" name="setFontForAll.css"/>
and inside CSS file I had
font-size: #{msg['myDir'].contains('LTR')?'10pt':'14pt'};
^^^ ^^^
English Arabic
However due to CSS caching, same CSS file is there and I am getting font as 10pt continously even if I choose Arabic.
Hence I added time after CSS.
<h:outputStylesheet library="css" name="setFontForAll.css?#{language.myTimeinMill}"/>
However when I use this, all my CSS goes for toss... I see default page setup (no css is getting invoked)
When I see view source, I get <link type="text/css" rel="stylesheet" href="RES_NOT_FOUND" />
Any idea what I am doing wrong?
Note : I am using JSF 2.0
I am also printing #{language.myTimeinMill}
inside body and everytime I see different time.