Render field errors if they exists. Specific layout depends on the particular theme.
Examples
<!-- example 1 -->
<s:fielderror />
<!-- example 2 -->
<s:fielderror>
<s:param>field1</s:param>
<s:param>field2</s:param>
</s:fielderror>
<s:form .... >>
....
</s:form>
OR
<s:fielderror>
<s:param value="%{'field1'}" />
<s:param value="%{'field2'}" />
</s:fielderror>
<s:form .... >>
....
</s:form>
Description
Example 1: display all field errors
Example 2: display field errors only for 'field1' and 'field2'
|