code: protected CmsTemplateLoaderFacade getTemplateLoaderFacade(
          CmsObject cms,
          CmsResource resource,
          HttpServletRequest req)
      throws CmsException {
  
          return OpenCms.getResourceManager().getTemplateLoaderFacade(
              cms,
              req,
              resource,
              getTemplatePropertyDefinition());
      }
docs: Returns the template loader facade for the given resource.<p>
  
  @param cms the cms context
  @param resource the resource
  @param req the current request
  
  @return the loader facade
  
  @throws CmsException in case reading the template property fails