// Prepare
String name = this.getScopedFullFieldId();
MultiSelectControl.ViewModel viewModel = ((MultiSelectControl.ViewModel)controlViewModel);
if (viewModel.getSelectItemByValue(value) == null)
throw new UiException("Value '" + value + "' not found in values list.");
UiUtil.writeOpenStartTag(out, "input");
UiUtil.writeAttribute(out, "name", name);
UiUtil.writeAttribute(out, "class", getStyleClass());
UiUtil.writeAttribute(out, "type", "checkbox");