return ObjectUtils.getBoolean(disabled);
}
private UIInput createSelectOneMenu(TextResolver textResolver)
{
SelectInputControl control = (SelectInputControl)InputControlManager.getControl(SelectInputControl.NAME);
HtmlSelectOneMenu input = control.createMenuComponent(this);
// css style
String userStyle = StringUtils.toString(getAttributes().get("styleClass"));
String cssStyle = TagEncodingHelper.getTagStyleClass("eSelect", null, null, userStyle);
input.setStyleClass(cssStyle);
// other attributes
copyAttributes(input);
// Options
Options options = getOptionList();
boolean addEmpty = isAllowNull() && !options.contains("");
control.initOptions(input, textResolver, options, addEmpty, getNullText());
// disabled
boolean disabled = isDisabled();
input.setDisabled(disabled);
control.addRemoveDisabledStyle(input, disabled);
// input.setLabel(getLabelString());
// input.setRequired(col.isRequired() && !col.isAutoGenerated());
// input.setId(this.getId() + INPUT_SUFFIX);
input.setValue(getValue());
return input;