JSF Number Validation

后端 未结 5 1903
独厮守ぢ
独厮守ぢ 2021-02-18 18:07

Is there any inbuilt number validator tag in JSF that checks whether an input entered in h:inputext field is a number?

The first question was answered. Edit

5条回答
  •  甜味超标
    2021-02-18 18:41

    You can use f:convertNumber (use the integerOnly attribute).

    You can get more information here.

提交回复
热议问题