fields.add (new WebMarkupContainer("oldPassContainer")
.add((new FeedbackBorder("oldPassBorder"))
.add(new PasswordTextField("oldPass", new Model<String>())
.setLabel(new Model<String>("Old Password"))
.add (new CorrectPasswordValidator())))
.setVisible(!haveKey));
fields.add((new FeedbackBorder("passwordBorder"))
.add(password = (PasswordTextField) new PasswordTextField("password", new Model<String>())
.setLabel(new Model<String>("New Password"))