When a JSF validator finds an error, the form is returned to the user so he or she can correct it.
当JSF验证器发现一个错误时,将向用户返回此表单,以便改正。
org.apache.derby.demo.validators — The ForwardDates is a custom JSF validator class, which ensures the date a flight is booked is either today or a future date.
validators ——ForwardDates是定制JSF验证器类,确保预订的航班日期是今天或未来日期。
The MyFaces implementation of JSF, specifically the Tomahawk components, include ready-to-use validators, alleviating the need to write a custom validator for many common data entry types.
JSF的MyFaces实现(特别是Tomahawk组件)包括随时可用的验证器,这减少了为很多公共数据条目类型编写定制验证器的需求。
The method would then be used in the JSF tag via the validator attribute as shown here.
之后,可通过如下所示的validator属性在JSF中使用这个方法。
The method would then be used in the JSF tag via the validator attribute as shown here.
之后,可通过如下所示的validator属性在JSF中使用这个方法。
应用推荐