} else if (param.isMultiline() == true) {
int maxLength = param.getMaxLength();
if (maxLength <= 0 || UserPrefEntryDO.MAX_STRING_VALUE_LENGTH < maxLength) {
maxLength = UserPrefEntryDO.MAX_STRING_VALUE_LENGTH;
}
fs.add(new TextAreaPanel(fs.newChildId(), new MaxLengthTextArea(TextAreaPanel.WICKET_ID,
new PropertyModel<String>(param, "value"), maxLength)));
} else if (I18nEnum.class.isAssignableFrom(param.getType()) == true) {
final LabelValueChoiceRenderer<I18nEnum> choiceRenderer = new LabelValueChoiceRenderer<I18nEnum>(this, (I18nEnum[]) param
.getType().getEnumConstants());
final DropDownChoice<I18nEnum> choice = new DropDownChoice<I18nEnum>(fs.getDropDownChoiceId(),