dropDownField.getAttributes().remove(ITEM_VALUES_ATTR_NAME);
}
DropDownPopup popup = dropDownField.getPopup();
popup.setDropDownList(items);
popup.encodeAll(context);
Rendering.encodeClientActions(context, uiComponent);
dropDownField.getAttributes().put(ATTR_TOTAL_ITEM_COUNT, totalItemCount);
dropDownField.getAttributes().put(ATTR_PAGE_SIZE, pageSize);
}