The topic of this
thread is
"hot to get javascript value in icefaces tag"
So one would expect that you are talking about javascript AND icefaces tags. But there is
NO javascript in your code example and there is no icafaces tags on your code example.
I am sorry if I keep on insisting on this matter but if you do not know what you are really asking it is not possible to answer your question! So is your question about icefaces and javascript or about your code example?
In your other question you asked about how to get the user agent with facelets tags and when you solve that question then you do not need to use the
JSP scriptlets you use in your code above. Using scriptlets is considered bad coding practice. I personally would put all the code you have here to a backing bean and then just use the property of the backing bean to set the correct css filename. But if you do not want to do that then the second approach would be to use the facelets tags.