if (AjaxUtil.getSkipExtraRenderingOnPortletsAjax(context))
return;
DropDownFieldBase dropDownField = (DropDownFieldBase) uiComponent;
SuggestionMode suggestionMode = dropDownField.getSuggestionMode();
int preloadedItemCount = dropDownField.getPreloadedItemCount();
if (preloadedItemCount < -1)
throw new FacesException("preloadedItemCount attribute should be specified as -1, 0, or a positive " +
"number, but was specified as: " + preloadedItemCount +
". Component id: " + dropDownField.getClientId(context));