protected void renderInitScript(FacesContext facesContext, OUISelectManyInputBase selectManyInputBase,
JSONObject imagesObj, JSONObject stylesObj,
int selectItemCount, AnonymousFunction onchangeFunction)
throws IOException {
SelectManyCheckbox selectManyCheckbox = (SelectManyCheckbox) selectManyInputBase;
Script initScript = new ScriptBuilder().initScript(facesContext, selectManyCheckbox, "O$.ManyCheckbox._init",
imagesObj,
stylesObj,
selectItemCount,
selectManyCheckbox.isDisabled(),
selectManyCheckbox.isReadonly(),
onchangeFunction
);
Rendering.renderInitScript(facesContext, initScript,
Resources.utilJsURL(facesContext),