/** * @see org.opencms.workplace.CmsDialog#dialogButtonsHtml(java.lang.StringBuffer, int, java.lang.String) */ @Override protected void dialogButtonsHtml(StringBuffer result, int button, String attribute) { switch (button) { case BUTTON_CONTINUE: result.append("<input name=\"set\" type=\"button\" value=\""); result.append(key(Messages.GUI_BUTTON_CONTINUE_0) + "\""); if (attribute.toLowerCase().indexOf("onclick") == -1) { result.append( " onclick=\"submitAction('" + DIALOG_CONTINUE + "', form, '" + getListId() + "-form');\""); } result.append(" class=\"dialogbutton\""); result.append(" id=\"nextButton\""); result.append(" disabled=\"disabled\""); result.append(attribute); result.append(">\n"); break; default: super.dialogButtonsHtml(result, button, attribute); } }
/** * @see org.opencms.workplace.CmsDialog#dialogButtonsHtml(java.lang.StringBuffer, int, java.lang.String) */ @Override protected void dialogButtonsHtml(StringBuffer result, int button, String attribute) { attribute = appendDelimiter(attribute); switch (button) { case BUTTON_NEXT: result.append("<input name=\"next\" type=\"submit\" value=\""); result.append(key(Messages.GUI_BUTTON_NEXTSCREEN_0)); result.append("\" class=\"dialogbutton\""); result.append(attribute); result.append(">\n"); break; default: super.dialogButtonsHtml(result, button, attribute); } }
/** * @see org.opencms.workplace.CmsDialog#dialogButtonsHtml(java.lang.StringBuffer, int, java.lang.String) */ @Override protected void dialogButtonsHtml(StringBuffer result, int button, String attribute) { attribute = appendDelimiter(attribute); switch (button) { case BUTTON_NEXT: result.append("<input name=\"next\" type=\"submit\" value=\""); result.append(key(Messages.GUI_BUTTON_NEXTSCREEN_0)); result.append("\" class=\"dialogbutton\""); result.append(attribute); result.append(">\n"); break; default: super.dialogButtonsHtml(result, button, attribute); } }
/** * @see org.opencms.workplace.CmsDialog#dialogButtonsHtml(java.lang.StringBuffer, int, java.lang.String) */ @Override protected void dialogButtonsHtml(StringBuffer result, int button, String attribute) { switch (button) { case BUTTON_CONTINUE: result.append("<input name=\"set\" type=\"button\" value=\""); result.append(key(Messages.GUI_BUTTON_CONTINUE_0) + "\""); if (attribute.toLowerCase().indexOf("onclick") == -1) { result.append(" onclick=\"submitAction('" + DIALOG_CONTINUE + "', form, '" + getListId() + "-form');\""); } result.append(" class=\"dialogbutton\""); result.append(" id=\"nextButton\""); result.append(" disabled=\"disabled\""); result.append(attribute); result.append(">\n"); break; default: super.dialogButtonsHtml(result, button, attribute); } }