* @see se.ucr.element.StandardVariable#createJS(se.ucr.element.ElementParameter)
*/
@Override
public String createJS(ElementParameter elemParam) {
StringBuffer out = new StringBuffer();
LanguageHandler lang = LanguageHandler.getInstance();
String langID = elemParam.getLangId();
out.append("inputAttributes['");
out.append(name);
out.append("'] = new Input('");
// id
out.append(name);
out.append("'");
//dataId
out.append(", '");
out.append(dataId);
out.append("'");
// subType
out.append(", 'button'");
// mandatory
out.append(", ");
out.append(mandatory);
// dado
out.append(", ");
out.append(disableOnDisableAll);
// description
out.append(", '");
out.append(lang.getTranslation(langID, getDescriptionID()));
// helptext
out.append("', '");
out.append(lang.getTranslation(langID, getHelpTextID()));
// min
out.append("', null");
// max
out.append(", null");
// wMin