ConfigurationDao cfgDao = getBean(ConfigurationDao.class);
login = new RequiredTextField<String>("login");
login.setLabel(Model.of(WebSession.getString(132)));
add(login.add(minimumLength(getMinLoginLength(cfgDao))));
add(generalForm = new GeneralUserForm("general", getModel(), true));
add(new DropDownChoice<Type>("type", Arrays.asList(Type.values())));
add(new Label("ownerId"));
add(forDatePattern("starttime", WEB_DATE_PATTERN));
add(forDatePattern("updatetime", WEB_DATE_PATTERN));