I see, that in JSF most of the standard components that mapped to HTML tags, e.g. <h:commandButton/>
, have attributes class
and styleClass
. But no matter, which one I use, both is rendered as class
attributes in markup.
So why there are two attributes with the same purpose?