posted 15 years ago
For that to work properly, you probably would need to escape it with <f:verbatim>. You also have to have the mystyle.css file in the same directory as the JSF page you're displaying. Finally, you have to be careful just where in the view definition you place it.
There's a RichFaces tag that's specially designed to reference CSS and JavaScript, and it additionally handles the relative URLs better than a raw <link> tag does.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.