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 组件)包括随时可用的验证器,这减少了为很多公共数据条目类型编写定制验证器的需求。
应用推荐