code: public void setCms(CmsObject cms) {
  
          m_cms = cms;
          m_request = cms.getRequestContext();
          m_referenceProject = null;
          m_projectResources = null;
          m_messages = null;
      }
docs: Sets the cms context.<p>
  
  @param cms the cms context to set