/** * @see org.opencms.workplace.list.I_CmsListDirectAction#helpTextHtml() */ public String helpTextHtml() { StringBuffer html = new StringBuffer(512); String ht = getHelpText().key(getWp().getLocale()); String helptext = new MessageFormat(ht, getWp().getLocale()).format(new Object[] {""}); if ((getColumnForTexts() == null) || helptext.equals(new MessageFormat(ht, getWp().getLocale()).format(new Object[] {getItem().get( getColumnForTexts())}))) { html.append(A_CmsHtmlIconButton.defaultHelpHtml(getId(), helptext)); } return html.toString(); }
/** * @see org.opencms.workplace.list.I_CmsListDirectAction#helpTextHtml() */ public String helpTextHtml() { StringBuffer html = new StringBuffer(512); String ht = getHelpText().key(getWp().getLocale()); String helptext = new MessageFormat(ht, getWp().getLocale()).format(new Object[] {""}); if ((getColumnForTexts() == null) || helptext.equals( new MessageFormat(ht, getWp().getLocale()).format(new Object[] {getItem().get(getColumnForTexts())}))) { html.append(A_CmsHtmlIconButton.defaultHelpHtml(getId(), helptext)); } return html.toString(); }
/** * @see org.opencms.workplace.list.I_CmsListDirectAction#confirmationTextHtml() */ public String confirmationTextHtml() { StringBuffer html = new StringBuffer(512); String cm = getConfirmationMessage().key(getWp().getLocale()); String confMessage = new MessageFormat(cm, getWp().getLocale()).format(new Object[] {""}); if ((getColumnForTexts() == null) || confMessage.equals( new MessageFormat(cm, getWp().getLocale()).format(new Object[] {getItem().get(getColumnForTexts())}))) { html.append(A_CmsListAction.defaultConfirmationHtml(getId(), confMessage)); } return html.toString(); }
/** * @see org.opencms.workplace.list.I_CmsListDirectAction#confirmationTextHtml() */ public String confirmationTextHtml() { StringBuffer html = new StringBuffer(512); String cm = getConfirmationMessage().key(getWp().getLocale()); String confMessage = new MessageFormat(cm, getWp().getLocale()).format(new Object[] {""}); if ((getColumnForTexts() == null) || confMessage.equals(new MessageFormat(cm, getWp().getLocale()).format(new Object[] {getItem().get( getColumnForTexts())}))) { html.append(A_CmsListAction.defaultConfirmationHtml(getId(), confMessage)); } return html.toString(); }