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