Hi all,
maybe I'm missing the obvious, but... is it possible to specify WHICH errormessage to show if a specific valitor fails?
say I have:
<t:inputText id="postcodeField" value="#{
searchAddressBean.postcode}" required="true">
<t:validateRegExpr pattern='\d{4}[a-zA-Z]{2}' />
</t:inputText>
<t:message id="postcodeFieldError" for="" styleClass="error" />
What I don't want to do is override the default errormessage used by the RegExpr validator, this would change its' behaviour througout the entire application, I just want to say: if this specific validation fails, display THIS message...
is it possible?
-P
- validation and custom messages Peter Maas
- Re: validation and custom messages Mike Kienenberger
- Re: validation and custom messages Peter Maas

