params.addAll(getInputStyles(context, dropDown));
params.add(promptText);
params.add(promptTextClass);
ScriptBuilder buf = new ScriptBuilder().initScript(context, dropDown, "O$.DropDown._initInput", params.toArray());
InitScript commonInitScript = new InitScript(buf, new String[]{
Resources.utilJsURL(context),
getDropdownJsURL(context)
});
InitScript componentSpecificInitScript = renderInitScript(context, dropDown);
Rendering.renderInitScripts(context, commonInitScript, componentSpecificInitScript);
if (isAutomaticStyleRenderingNeeded())
Styles.renderStyleClasses(context, dropDown);
}