code: public String restoreLink(String path) {
  
          if ((path != null) && (path.startsWith("#"))) {
              return path;
          }
  
          String ret = null;
  
          // iterate through all wrappers and call "restoreLink" till one does not return null
          List<I_CmsResourceWrapper> wrappers = getWrappers();
          Iterator<I_CmsResourceWrapper> iter = wrappers.iterator();
          while (iter.hasNext()) {
              I_CmsResourceWrapper wrapper = iter.next();
              ret = wrapper.restoreLink(m_cms, m_cms.getRequestContext().removeSiteRoot(path));
              if (ret != null) {
                  return ret;
              }
          }
  
          return path;
      }
docs: Returns a link to an existing resource in the VFS.<p>
  
  Because it is possible through the <code>CmsObjectWrapper</code> to create "virtual" resources,
  which can not be found in the VFS, it is necessary to change the links in pages
  as well, so that they point to resources which really exists in the VFS.<p>
  
  Iterates through all configured resource wrappers till the first returns not <code>null</code>.<p>
  
  @see #rewriteLink(String)
  @see I_CmsResourceWrapper#restoreLink(CmsObject, String)
  
  @param path the path to the resource
  
  @return the path for the resource which exists in the VFS