JSF doesn't support cross-field validation, is there a workaround?

后端 未结 2 705
慢半拍i
慢半拍i 2020-11-22 09:32

JSF 2.0 only allows you to validate the input on one field, like check to see if it\'s a certain length. It doesn\'t allow you to have a form that says, \"enter city and sta

2条回答
  •  太阳男子
    2020-11-22 10:06

    Apache ExtVal was not mentioned here.

    There are some cross validations in it (among other validations which might be useful):

    https://cwiki.apache.org/confluence/display/EXTVAL/Property+Validation+Usage#PropertyValidationUsage-CrossValidation

提交回复
热议问题