I was wondering if there is a way in s:message to avoid rendering the component id.
For example if I am using a decorator like this
<div class="entry"> <s:label styleClass="label #{invalid?'errors':''}"> <ui:insert name="label"/> <s:span styleClass="required" rendered="#{required}">*</s:span> </s:label> <span class="input #{invalid?'errors':''}"> <s:validateAll> <ui:insert/> </s:validateAll> </span> <div> <s:message styleClass="error errors"/> </div> <div class="description"><ui:insert name="description" /></div> </div>
"_id63": Value is required.from the
<s:message styleClass="error errors"/>component. The message is fine but I don't want to see the id. Since the error message is close to the field that actually failed the validation it is not needed and only confuses the user.