I have a JSF page in which I set the styleClass for a commandLink. However, the
generated page does not rendered the stylized link.
Here is the excerpt from my stylesheet:
margin: 0px 0px 0px 0px;
padding: 5px 15px 5px 15px;
Here is the commandLink tag:
<h:commandLink sytleClass="commandLink" value="Logout"
And here is the generated link when the page is rendered:
<a href="#" onclick="if(typeof jsfcljs ==
Notice that the "class" attribute is not rendered as described in the tag lib in
I don't want to set the stylesheet with the a and a:hover definitions globally
(which would then render the links properly) because I have different kinds of
links that should be stylized differently.