for (String key : keys) {
if (key.equalsIgnoreCase("user.gender")) {
List<SelectItemOption<String>> ls = new ArrayList<SelectItemOption<String>>();
ls.add(new SelectItemOption<String>(MALE, MALE));
ls.add(new SelectItemOption<String>(FEMALE, FEMALE));
UIFormSelectBox genderSelectBox = new UIFormSelectBox(key, key, ls);
set.addUIFormInput(genderSelectBox);
continue;
} else if (key.equalsIgnoreCase("user.jobtitle")) {
set.addUIFormInput(new UIFormStringInput(key, null, null).addValidator(UserConfigurableValidator.class,
JOB_TITLE, UserConfigurableValidator.KEY_PREFIX + JOB_TITLE, false));
continue;
} else if (key.equalsIgnoreCase(Constants.USER_LANGUAGE)) {
UIFormSelectBox langSelectBox = new UIFormSelectBox(key, key, null);
set.addUIFormInput(langSelectBox);
initLanguageCombo(langSelectBox);
continue;
}