code: private CmsObject getCmsObject() {
  
          CmsObject cms;
          try {
              cms = OpenCms.initCmsObject(A_CmsUI.getCmsObject());
              //m_cms.getRequestContext().setSiteRoot("");
          } catch (CmsException e) {
              cms = A_CmsUI.getCmsObject();
          }
          return cms;
      }
docs: Gets CmsObject.<p>
  
  @return cmsobject