* nessecary javascripts
*/
@Override
public String createHTML(ElementParameter elemParam) {
StringBuffer out = new StringBuffer();
LanguageHandler lang = LanguageHandler.getInstance();
String langID = elemParam.getLangId();
out.append("<select" + getMultiple() + getVisibleRows());
if (!"".equals(getStylesheet())) {
out.append(" class=\"" + getStylesheet() + "\" ");
}
out.append(" id=\"" + getName() + "\" ");
// scripts
for (ScriptBean vsBean : scripts.values()) {
out.append(vsBean.getScriptname() + "=\"" + vsBean.getScriptvalue()
+ "\" ");
}
out.append("> ");
out.append(nl);
if (null != lang.getNoMatchFoundMessage()) {
String listOptionString = lang.getIntervalListTranslationValue(
langID, getListBoxId() + "_L", elemParam.getCalendar(),
elemParam.getUser().getListboxmode(), elemParam.getFetch()
.getValueAsString(this.name));
// only write to out if we have option rows...
if (!lang.getNoMatchFoundMessage().equals(listOptionString)) {
out.append(listOptionString);
}
}
out.append("</select>");
if (mandatory) {