org.jboss.seam.examples.booking.account
Class ConfirmPasswordValidator

java.lang.Object
  extended by org.jboss.seam.examples.booking.account.ConfirmPasswordValidator
All Implemented Interfaces:
EventListener, Validator

public class ConfirmPasswordValidator
extends Object
implements Validator

Validate that both the password fields contain the same value. Implements the classic password change validation.

Author:
Lincoln Baxter, III

Field Summary
 
Fields inherited from interface javax.faces.validator.Validator
NOT_IN_RANGE_MESSAGE_ID
 
Constructor Summary
ConfirmPasswordValidator()
           
 
Method Summary
 void validate(FacesContext ctx, UIComponent form, Object components)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfirmPasswordValidator

public ConfirmPasswordValidator()
Method Detail

validate

public void validate(FacesContext ctx,
                     UIComponent form,
                     Object components)
              throws ValidatorException
Specified by:
validate in interface Validator
Throws:
ValidatorException


Copyright © 2011 Seam Framework. All Rights Reserved.