Perhaps this is simple but I can not find how to stop the html element id from appearing in the validation message each time the validation ocurrs, that is, I have a template like this (taken from some seam example):
<div class="prop"> <s:label styleClass="name #{invalid?'errors':''}"> <ui:insert name="label" /> <s:span styleClass="required" rendered="#{required}">*</s:span> </s:label> <span class="value #{invalid?'errors':''}"> <s:validateAll> <ui:insert /> </s:validateAll> </span> <s:message styleClass="error errors"/> </div>
<s:decorate id="decorateAddress" template="/layout/edit.xhtml"> <ui:define name="label">Address:</ui:define> <h:inputText id="address" value="#{register.info.address}" required="true" > <a4j:support event="onblur" reRender="decorateAddress"/> </h:inputText> </s:decorate>
registerForm:decorateAddress:address: Validation error: required value
Alter the JSF required validation message in messages