code: private void replaceOptions(CmsSelectConfigurationParser parser) {
  
          String oldValue = m_selectBox.getFormValueAsString();
          // set the help info first!!
          for (Entry<String, String> helpEntry : parser.getHelpTexts().entrySet()) {
              m_selectBox.setTitle(helpEntry.getKey(), helpEntry.getValue());
          }
          //set value and option to the combo box.
          m_selectBox.setItems(parser.getOptions());
          //if one entrance is declared for default.
          if (parser.getDefaultValue() != null) {
              //set the declared value selected.
              m_selectBox.selectValue(parser.getDefaultValue());
          }
          m_selectBox.setFormValueAsString(oldValue);
      }
docs: Replaces the select options with the given options.<p>
  
  @param parser the configuration parser