FormComponent password = new PasswordTextField("password").setRequired(true);
FormComponent verify = new PasswordTextField("verify").setRequired(true);
add(new FormInputBorder("passwordBorder", "Password", password , new PropertyModel(user, "password")));
add(new FormInputBorder("verifyBorder", "Verify Password", verify, new PropertyModel(this, "verify")));
add(new ComponentFeedbackPanel("messages", this));
add(new EqualInputValidator(password, verify));
}