code: protected String resolveOnClic(CmsWorkplace wp) {
  
          return "listIndepAction('"
              + getListId()
              + "','"
              + getId()
              + "', '"
              + CmsStringUtil.escapeJavaScript(wp.resolveMacros(getConfirmationMessage().key(wp.getLocale())))
              + "');";
      }
docs: Help method to resolve the on clic text to use.<p>
  
  @param wp the workplace context
  
  @return the on clic text