code: public String getNavText() {
  
          String navText = "";
          try {
              navText = getCms().readPropertyObject(
                  getCms().getSitePath(m_resource),
                  CmsPropertyDefinition.PROPERTY_NAVTEXT,
                  false).getValue();
          } catch (Throwable e) {
              String storedSiteRoot = getCms().getRequestContext().getSiteRoot();
              try {
                  getCms().getRequestContext().setSiteRoot("");
                  navText = getCms().readPropertyObject(
                      m_resource.getRootPath(),
                      CmsPropertyDefinition.PROPERTY_NAVTEXT,
                      false).getValue();
              } catch (Exception e1) {
                  // should usually never happen
                  if (LOG.isInfoEnabled()) {
                      LOG.info(e);
                  }
              } finally {
                  getCms().getRequestContext().setSiteRoot(storedSiteRoot);
              }
          }
          if (navText == null) {
              navText = "";
          }
          return navText;
      }
docs: Returns the navtext of a resource.<p>
  
  @return the navtext for that resource