docs: @Override
      public int doEndTag() throws JspException {
  
          ServletRequest req = pageContext.getRequest();
          CmsFlexController controller = CmsFlexController.getController(req);
          CmsObject cms = controller.getCmsObject();
          try {
              if (TYPE_CSS.equals(m_type)) {
                  tagCssAction(cms, (HttpServletRequest)req);
              }
              if (TYPE_JAVASCRIPT.equals(m_type)) {
                  tagJSAction(cms, (HttpServletRequest)req);
              }
          } catch (Exception e) {
              throw new JspException(e);
          } finally {
              m_parameterMap = null;
          }
          return EVAL_PAGE;
  
      }