code: protected String resolveOnClic(Locale locale) {
  
          String confirmationMessage = getConfirmationMessage().key(locale);
          if ((getColumnForTexts() != null) && (getItem().get(getColumnForTexts()) != null)) {
              confirmationMessage = new MessageFormat(confirmationMessage, locale).format(
                  new Object[] {getItem().get(getColumnForTexts())});
          }
          StringBuffer onClic = new StringBuffer(128);
          onClic.append("listAction('");
          onClic.append(getListId());
          onClic.append("', '");
          onClic.append(getId());
          onClic.append("', '");
          if ((getColumnForTexts() == null)
              || (getItem().get(getColumnForTexts()) == null)
              || confirmationMessage.equals(new MessageFormat(confirmationMessage, locale).format(new Object[] {""}))) {
              onClic.append("conf" + getId());
          } else {
              onClic.append(CmsStringUtil.escapeJavaScript(confirmationMessage));
          }
          onClic.append("', '");
          onClic.append(CmsStringUtil.escapeJavaScript(getItem().getId()));
          onClic.append("');");
          return onClic.toString();
      }
docs: Help method to resolve the on clic text to use.<p>
  
  @param locale the used locale
  
  @return the on clic text