code: private void addCurrentTemplate(String currentTemplate, List<String> options, List<String> values) {
  
          CmsMessages messages = Messages.get().getBundle(getLocale());
  
          // template was not found in regular template folders, add current template value
          if (CmsStringUtil.isEmpty(currentTemplate)) {
              // current template not available, add "please select" value
              options.add(0, "--- " + messages.key(Messages.GUI_PLEASE_SELECT_0) + " ---");
              values.add(0, "");
          } else {
              // current template was set to some value, add this value to the selection
              String name = null;
              try {
                  // read the title of the current template
                  name = getCms().readPropertyObject(
                      currentTemplate,
                      CmsPropertyDefinition.PROPERTY_TITLE,
                      false).getValue();
              } catch (CmsException e) {
                  // ignore this exception - the title for this template was not readable
                  if (LOG.isInfoEnabled()) {
                      LOG.info(messages.key(Messages.LOG_READ_TITLE_PROP_FAILED_1, currentTemplate), e);
                  }
              }
              if (name == null) {
                  name = currentTemplate;
              }
              options.add(0, "* " + name);
              values.add(0, currentTemplate);
          }
      }
docs: Adds the currently selected template value to the option and value list.<p>
  
  @param currentTemplate the currently selected template to add
  @param options the option list
  @param values the value list