boolean disabled = isDisabled();
((HtmlSelectOneMenu)inputComponent).setDisabled(disabled);
// Options (sync)
Options options = getOptionList();
boolean hasEmpty = isAllowNull() && !options.contains("");
control.syncOptions((HtmlSelectOneMenu)inputComponent, textResolver, options, hasEmpty, getNullText());
setInputValue((HtmlSelectOneMenu)inputComponent);
}
else
{ // Something's wrong here?
log.warn("WARN: Unexpected child node for {}! Child item type is {}.", getClass().getName(), inputComponent.getClass().getName());