code: public static CmsUUID getDetailId(ServletRequest req) {
  
          CmsResource res = getDetailResource(req);
          return res == null ? null : res.getStructureId();
      }
docs: Returns the current detail content UUID, or <code>null</code> if this is not a request to a content detail page.<p>
  
  @param req the current request
  
  @return the current detail content UUID, or <code>null</code> if this is not a request to a content detail page