Use <f:validateLongRange>
with a minimum
of 0
.
<h:inputText ...>
<f:validateLongRange minimum="0" />
</h:inputText>
The default validation message is:
Validation Error: Value is less than allowable minimum of '0'
Any custom validation message can be set via validatorMessage
the same way as you did for converterMessage
.