docs: public void actionChangeLinkTarget() throws JspException {
  
          try {
              // check the resource lock state
              checkLock(getParamResource());
              // change the link target
              CmsFile editFile = getCms().readFile(getParamResource());
              editFile.setContents(getParamLinkTarget().getBytes());
              getCms().writeFile(editFile);
              // close the dialog window
              actionCloseDialog();
          } catch (Throwable e) {
              // error changing link target, show error dialog
              setParamMessage(Messages.get().getBundle(getLocale()).key(Messages.ERR_CHANGE_LINK_TARGET_0));
              includeErrorpage(this, e);
          }
      }