JSF Number Validation

后端 未结 5 1914
独厮守ぢ
独厮守ぢ 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:56

    You can simply use the passthrough, so first add this library

        xmlns:pt="http://xmlns.jcp.org/jsf/passthrough"
    

    and after use this

       
    

提交回复
热议问题