docs: private List getTemplates() {
  
          ArrayList ret = new ArrayList();
          TreeMap templates = null;
  
          try {
              templates = CmsNewResourceXmlPage.getTemplates(getJsp().getCmsObject(), null);
  
              // loop through all templates and build the entries
              Iterator i = templates.entrySet().iterator();
              while (i.hasNext()) {
                  Map.Entry entry = (Map.Entry)i.next();
                  String title = (String)entry.getKey();
                  String path = (String)entry.getValue();
  
                  ret.add(new CmsSelectWidgetOption(path, false, title));
              }
          } catch (CmsException e) {
              // not necessary
          }
  
          return ret;
      }