How to customize JSF validation error message

后端 未结 3 1525
小蘑菇
小蘑菇 2020-12-01 21:02

How can I customize the validation message that appears when validation fails?

Here is the code I have:


    

3条回答
  •  攒了一身酷
    2020-12-01 21:22

    You can use validatorMessage property of input text. Use requiredMessage property for required message, it is different from validator message.

    
        
    
    

提交回复
热议问题