code: protected void init() {
  
          // initialize OpenCms access objects
          CmsFlexController controller = CmsFlexController.getController(pageContext.getRequest());
          m_cms = controller.getCmsObject();
  
          int startLevel = m_startLevel == null ? Integer.MIN_VALUE : Integer.parseInt(m_startLevel);
          int endLevel = m_endLevel == null ? Integer.MIN_VALUE : Integer.parseInt(m_endLevel);
  
          // load navigation bean in the JSP context
          CmsJspNavigationBean bean = new CmsJspNavigationBean(
              m_cms,
              m_type,
              startLevel,
              endLevel,
              m_resource,
              m_param,
              m_locale);
          storeAttribute(getVar(), bean);
      }
docs: Initializes this formatter tag.<p>