code: public CmsJspResourceWrapper getPageResource() {
  
          try {
              if (m_pageResource == null) {
                  // get the container page itself, checking the history first
                  m_pageResource = CmsJspResourceWrapper.wrap(
                      m_cms,
                      (CmsResource)CmsHistoryResourceHandler.getHistoryResource(m_request));
                  if (m_pageResource == null) {
                      m_pageResource = CmsJspResourceWrapper.wrap(
                          m_cms,
                          m_cms.readResource(m_cms.getRequestContext().getUri()));
                  }
              }
          } catch (CmsException e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
          return m_pageResource;
      }
docs: Returns the current container page resource.<p>
  
  @return the current container page resource