Is there any inbuilt number validator tag in JSF that checks whether an input entered in h:inputext field is a number?
h:inputext
The first question was answered. Edit
i8taken solution converts number into long without validation message (at least in my case: JSF2 / global messages per page). For proper validation message you can 1. check value in action method in bean; or 2. use converter attribute for inputText: