title: Check if field generated error
body: <p>I can display errors for specific fields using this tag:</p>
  
  <pre><code>&lt;s:fielderror fieldName="myField" /&gt;
  </code></pre>
  
  <p>But in addition to displaying the error message I would like to highlight the field in red. To do this I need to know if a field generated an error, and then add error class to this field.</p>
  
  <p>How can I check if specific field has generated an error?</p>