lastNameField.setLabel(Model.of(WebSession.getString(118)));
add(loginField = new RequiredTextField<String>("login", new PropertyModel<String>(RegisterDialog.this,
"login")));
loginField.setLabel(Model.of(WebSession.getString(114)));
loginField.add(minimumLength(getMinLoginLength(cfgDao)));
add(passwordField = new PasswordTextField("password", new PropertyModel<String>(RegisterDialog.this,
"password")));
passwordField.setLabel(Model.of(WebSession.getString(115)));
passwordField.setResetPassword(true).add(minimumLength(getMinPasswdLength(cfgDao)));
add(confirmPassword = new PasswordTextField("confirmPassword", new Model<String>()).setResetPassword(true));
confirmPassword.setLabel(Model.of(WebSession.getString(116)));
add(emailField = new RequiredTextField<String>("email", new PropertyModel<String>(RegisterDialog.this,
"email")));
emailField.setLabel(Model.of(WebSession.getString(119)));
emailField.add(RfcCompliantEmailAddressValidator.getInstance());