code: public String getOldTargetValue() throws JspException {
  
          String linkTarget = "";
          if (CmsStringUtil.isEmpty(getParamLinkTarget())) {
              // this is the initial dialog call, get link target value
              try {
                  // get pointer contents
                  CmsFile file = getCms().readFile(getParamResource());
                  linkTarget = new String(file.getContents());
              } catch (Throwable e1) {
                  // error reading file, show error dialog
                  setParamMessage(
                      Messages.get().getBundle(getLocale()).key(Messages.ERR_GET_LINK_TARGET_1, getParamResource()));
                  includeErrorpage(this, e1);
  
              }
          }
          return CmsEncoder.escapeXml(linkTarget);
      }
docs: Returns the old link target value of the pointer resource to edit.<p>
  
  @return the old link target value
  @throws JspException if problems including sub-elements occur