Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.3
-
None
Description
I have an input field defined as:
<s:radio name="jointAccount" list="#
{'yes':'yes','no':'no'}" required="true" cssErrorClass="fv_error"/>
And in my ActionClass I am calling:
if(jointAccount == null || jointAccount.isEmpty())
{ this.addFieldError("jointAccount", "JOINT is required."); return INPUT; }And the rendered HTML is not showing the cssErrorClass:
<input type="radio" name="jointAccount" id="olr_step2_jointAccountyes" value="yes"/><label for="olr_step2_jointAccountyes">yes</label>
<input type="radio" name="jointAccount" id="olr_step2_jointAccountno" value="no"/><label for="olr_step2_jointAccountno">no</label>