org.jboss.seam.examples.booking.booking
Class ReservationDateRangeValidator
java.lang.Object
org.jboss.seam.examples.booking.booking.ReservationDateRangeValidator
- All Implemented Interfaces:
- EventListener, javax.faces.validator.Validator
public class ReservationDateRangeValidator
- extends Object
- implements javax.faces.validator.Validator
A cross-field validator that validates the start date is in the future and before the end date.
- Author:
- Dan Allen
| Fields inherited from interface javax.faces.validator.Validator |
NOT_IN_RANGE_MESSAGE_ID |
|
Method Summary |
void |
validate(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent form,
Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReservationDateRangeValidator
public ReservationDateRangeValidator()
validate
public void validate(javax.faces.context.FacesContext ctx,
javax.faces.component.UIComponent form,
Object value)
throws javax.faces.validator.ValidatorException
- Specified by:
validate in interface javax.faces.validator.Validator
- Throws:
javax.faces.validator.ValidatorException
Copyright © 2012 Seam Framework. All Rights Reserved.