Once the pages have captured errors within my Struts 2 application the errors are displayed correctly from my resource bundles however they are always displayed with a braces []
.
For example:
[first name must not be empty]
These are displayed through the tags:
<s:actionerror />
<s:iterator value="fieldErrors">
<s:property value="value" />
</s:iterator>
These come through the Action-validation.xml
and setting a addFieldError()
through the validation method
Is this something to do with my theme being set to simple
? I can't see anything in documentation or anything through other posts.